diff options
author | Mattias Andrée <maandree@kth.se> | 2022-02-19 15:50:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-19 15:50:46 +0100 |
commit | 2f3ed0f9243cebe3543c704f4595bdbf8fd142f2 (patch) | |
tree | d23812f325d72146aa2ab755b8cdc062da80de11 /Makefile | |
parent | Update readme (diff) | |
parent | Set install name for installed library (diff) | |
download | libkeccak-2f3ed0f9243cebe3543c704f4595bdbf8fd142f2.tar.gz libkeccak-2f3ed0f9243cebe3543c704f4595bdbf8fd142f2.tar.bz2 libkeccak-2f3ed0f9243cebe3543c704f4595bdbf8fd142f2.tar.xz |
Merge pull request #17 from carlocab/install-name
Set install name in `LIBFLAGS`
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -139,7 +139,6 @@ $(OBJ): $(HDR) libkeccak.$(LIBEXT): $(OBJ) $(CC) $(LIBFLAGS) -o $@ $(OBJ) $(LDFLAGS) - $(FIX_INSTALL_NAME) libkeccak.a: $(OBJ) -rm -f -- $@ @@ -178,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" |