aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-19 22:57:34 +0100
committerMattias Andrée <maandree@kth.se>2022-02-19 22:57:34 +0100
commite83142a23a54c2715a970b6771a716a01c70b841 (patch)
tree2a5116f330b7e35cf437bdb7b6866a4e1844349d /Makefile
parentm doc fix (diff)
downloadlibblake-e83142a23a54c2715a970b6771a716a01c70b841.tar.gz
libblake-e83142a23a54c2715a970b6771a716a01c70b841.tar.bz2
libblake-e83142a23a54c2715a970b6771a716a01c70b841.tar.xz
Fix linking for Mac OS
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 94909b2..5b439de 100644
--- a/Makefile
+++ b/Makefile
@@ -127,6 +127,7 @@ install: libblake.a libblake.$(LIBEXT)
mkdir -p -- "$(DESTDIR)$(PREFIX)/include"
cp -- libblake.a "$(DESTDIR)$(PREFIX)/lib/"
cp -- libblake.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/libblake.$(LIBMINOREXT)"
+ $(FIX_INSTALL_NAME) "$(DESTDIR)$(PREFIX)/lib/libblake.$(LIBMINOREXT)"
ln -sf -- libblake.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/libblake.$(LIBMAJOREXT)"
ln -sf -- libblake.$(LIBMAJOREXT) "$(DESTDIR)$(PREFIX)/lib/libblake.$(LIBEXT)"
cp -- libblake.h "$(DESTDIR)$(PREFIX)/include/"