summaryrefslogtreecommitdiffstats
path: root/src/libltdl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/libltdl.mk')
-rw-r--r--src/libltdl.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/libltdl.mk b/src/libltdl.mk
new file mode 100644
index 0000000..79e09f5
--- /dev/null
+++ b/src/libltdl.mk
@@ -0,0 +1,25 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := libltdl
+$(PKG)_IGNORE = $(libtool_IGNORE)
+$(PKG)_VERSION = $(libtool_VERSION)
+$(PKG)_CHECKSUM = $(libtool_CHECKSUM)
+$(PKG)_SUBDIR = $(libtool_SUBDIR)
+$(PKG)_FILE = $(libtool_FILE)
+$(PKG)_URL = $(libtool_URL)
+$(PKG)_DEPS := gcc
+
+define $(PKG)_UPDATE
+ echo $(libtool_VERSION)
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)/libltdl' && ./configure \
+ --host='$(TARGET)' \
+ --prefix='$(PREFIX)/$(TARGET)' \
+ --disable-shared \
+ --enable-ltdl-install
+ $(MAKE) -C '$(1)/libltdl' -j '$(JOBS)'
+ $(MAKE) -C '$(1)/libltdl' -j 1 install
+endef