From 33f5755166b20dcd895c960165c71aa4c7b91fba Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 28 Dec 2019 08:52:23 +0000 Subject: project: ltdl drop-in-replacement: provide ltdl.h as a header, not a symlink. --- include/ltdl.h | 1 + project/extras.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 include/ltdl.h 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: -- cgit v1.2.3