aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-19 15:53:13 +0100
committerMattias Andrée <maandree@kth.se>2022-02-19 15:53:13 +0100
commit4b2f90939c4fcae0bb24ca7e96bfa2ca6c82e5da (patch)
tree5d958250ae2827f01247dfe539f5d1bc4a4d8307
parentMerge pull request #17 from carlocab/install-name (diff)
downloadlibkeccak-4b2f90939c4fcae0bb24ca7e96bfa2ca6c82e5da.tar.gz
libkeccak-4b2f90939c4fcae0bb24ca7e96bfa2ca6c82e5da.tar.bz2
libkeccak-4b2f90939c4fcae0bb24ca7e96bfa2ca6c82e5da.tar.xz
Move operand for install_name_tool from macro in macos.mk to usage in Makefile1.3.1.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--Makefile2
-rw-r--r--macos.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 10926cb..4818e5b 100644
--- a/Makefile
+++ b/Makefile
@@ -177,7 +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)
+ $(FIX_INSTALL_NAME) "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBEXT)"
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"
diff --git a/macos.mk b/macos.mk
index 83b6515..c25288d 100644
--- a/macos.mk
+++ b/macos.mk
@@ -4,4 +4,4 @@ LIBFLAGS = -dynamiclib -Wl,-compatibility_version,$(LIB_MAJOR) -Wl,-current_vers
LIBMAJOREXT = $(LIB_MAJOR).$(LIBEXT)
LIBMINOREXT = $(LIB_VERSION).$(LIBEXT)
-FIX_INSTALL_NAME = install_name_tool -id "$(PREFIX)/lib/libkeccak.$(LIBMAJOREXT)" "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBEXT)"
+FIX_INSTALL_NAME = install_name_tool -id "$(PREFIX)/lib/libkeccak.$(LIBMAJOREXT)"