aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-19 20:12:14 +0100
committerMattias Andrée <maandree@kth.se>2022-02-19 20:12:14 +0100
commitd8f9921d508d415c7172a973d40f6a293470372a (patch)
tree74c721c568488b9a41c2cadb19ada77f6cb01eee /Makefile
parentAdd readme (diff)
downloadlibtracebitmap-d8f9921d508d415c7172a973d40f6a293470372a.tar.gz
libtracebitmap-d8f9921d508d415c7172a973d40f6a293470372a.tar.bz2
libtracebitmap-d8f9921d508d415c7172a973d40f6a293470372a.tar.xz
Fix linking for Windows and Mac OS
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5390abd..02b0018 100644
--- a/Makefile
+++ b/Makefile
@@ -50,6 +50,7 @@ install: libtracebitmap.a libtracebitmap.$(LIBEXT)
mkdir -p -- "$(DESTDIR)$(PREFIX)/include"
cp -- libtracebitmap.a "$(DESTDIR)$(PREFIX)/lib/"
cp -- libtracebitmap.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/libtracebitmap.$(LIBMINOREXT)"
+ $(FIX_INSTALL_NAME) "$(DESTDIR)$(PREFIX)/lib/libtracebitmap.$(LIBMINOREXT)"
ln -sf -- libtracebitmap.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/libtracebitmap.$(LIBMAJOREXT)"
ln -sf -- libtracebitmap.$(LIBMAJOREXT) "$(DESTDIR)$(PREFIX)/lib/libtracebitmap.$(LIBEXT)"
cp -- libtracebitmap.h "$(DESTDIR)$(PREFIX)/include/"