aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorCarlo Cabrera <30379873+carlocab@users.noreply.github.com>2022-02-19 22:46:57 +0800
committerCarlo Cabrera <30379873+carlocab@users.noreply.github.com>2022-02-19 22:46:57 +0800
commitbda62bccc3f99a41c830a00114d255473e8da5a8 (patch)
treed23812f325d72146aa2ab755b8cdc062da80de11 /Makefile
parentSet install name in `LIBFLAGS` (diff)
downloadlibkeccak-bda62bccc3f99a41c830a00114d255473e8da5a8.tar.gz
libkeccak-bda62bccc3f99a41c830a00114d255473e8da5a8.tar.bz2
libkeccak-bda62bccc3f99a41c830a00114d255473e8da5a8.tar.xz
Set install name for installed library
Diffstat (limited to '')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a6aa425..10926cb 100644
--- a/Makefile
+++ b/Makefile
@@ -177,6 +177,7 @@ run-benchmark: benchmark benchfile
install: libkeccak.$(LIBEXT) libkeccak.a
mkdir -p -- "$(DESTDIR)$(PREFIX)/lib"
cp -- libkeccak.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBMINOREXT)"
+ $(FIX_INSTALL_NAME)
ln -sf -- libkeccak.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBMAJOREXT)"
ln -sf -- libkeccak.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBEXT)"
cp -- libkeccak.a "$(DESTDIR)$(PREFIX)/lib/libkeccak.a"