diff options
author | Mattias Andrée <maandree@kth.se> | 2022-02-19 11:19:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-19 11:19:01 +0100 |
commit | 1a59f9ef848d7446e3e61344a61986332d53efba (patch) | |
tree | c99e2b037b2a337cb1d4cfec59325f243282a60d /Makefile | |
parent | Merge pull request #15 from carlocab/macos-library-versioning (diff) | |
parent | Fix library install name in `install` target on macOS (diff) | |
download | libkeccak-1a59f9ef848d7446e3e61344a61986332d53efba.tar.gz libkeccak-1a59f9ef848d7446e3e61344a61986332d53efba.tar.bz2 libkeccak-1a59f9ef848d7446e3e61344a61986332d53efba.tar.xz |
Merge pull request #16 from carlocab/macos-install-names
Fix library install name in `install` target on macOS
Diffstat (limited to '')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -175,6 +175,9 @@ run-benchmark: benchmark benchfile for i in $$(seq 7) ; do ./benchmark ; done | median install: libkeccak.$(LIBEXT) libkeccak.a +ifeq ($(shell uname),Darwin) + install_name_tool -id "$(PREFIX)/lib/libkeccak.$(LIBMAJOREXT)" libkeccak.$(LIBEXT) +endif mkdir -p -- "$(DESTDIR)$(PREFIX)/lib" cp -- libkeccak.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBMINOREXT)" ln -sf -- libkeccak.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBMAJOREXT)" |