summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-12-28 08:52:23 +0000
committermidipix <writeonce@midipix.org>2019-12-28 08:52:23 +0000
commit33f5755166b20dcd895c960165c71aa4c7b91fba (patch)
treecf677ba4ae620eeac505ac96d66fc9fb07785089
parent5443b5ea30b2c1ed167cf5adb80699ff404d4bd8 (diff)
downloadsltdl-33f5755166b20dcd895c960165c71aa4c7b91fba.tar.bz2
sltdl-33f5755166b20dcd895c960165c71aa4c7b91fba.tar.xz
project: ltdl drop-in-replacement: provide ltdl.h as a header, not a symlink.
-rw-r--r--include/ltdl.h1
-rw-r--r--project/extras.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/ltdl.h b/include/ltdl.h
new file mode 100644
index 0000000..6e0893e
--- /dev/null
+++ b/include/ltdl.h
@@ -0,0 +1 @@
+#include "sltdl/sltdl.h"
diff --git a/project/extras.mk b/project/extras.mk
index 5aa769b..c99ffaa 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -7,7 +7,7 @@ LIBLTDL_IMPLIB = $(OS_LIB_PREFIX)ltdl$(OS_IMPLIB_EXT)
install-headers-ltdl:
mkdir -p $(DESTDIR)$(INCLUDEDIR)
rm -f $(DESTDIR)$(INCLUDEDIR)/ltdl.h.tmp
- ln -s sltdl/sltdl.h $(DESTDIR)$(INCLUDEDIR)/ltdl.h.tmp
+ cp -p $(SOURCE_DIR)/include/ltdl.h $(DESTDIR)$(INCLUDEDIR)/ltdl.h.tmp
mv $(DESTDIR)$(INCLUDEDIR)/ltdl.h.tmp $(DESTDIR)$(INCLUDEDIR)/ltdl.h
install-shared-ltdl: