summaryrefslogtreecommitdiffstats
path: root/src/plib.mk
diff options
context:
space:
mode:
authorSaikrishna Arcot <saiarcot895@gmail.com>2015-06-24 15:03:35 (GMT)
committerSaikrishna Arcot <saiarcot895@gmail.com>2015-08-27 20:47:21 (GMT)
commit8384286168cc8632ec671298df53d3c0f469330f (patch)
tree1161b0a7e377605ae36a537d2350f0f895b89b26 /src/plib.mk
parent93611b5d73cc3a755e630faec666ed200201a51a (diff)
downloadmxe-8384286168cc8632ec671298df53d3c0f469330f.zip
mxe-8384286168cc8632ec671298df53d3c0f469330f.tar.gz
mxe-8384286168cc8632ec671298df53d3c0f469330f.tar.bz2
Build shared or static versions of plib.
(cherry picked from commit 8ffa3fceb563954cf2368ff51c2544c78b7fcde1)
Diffstat (limited to 'src/plib.mk')
-rw-r--r--src/plib.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plib.mk b/src/plib.mk
index 4f8401e..ed0aa4a 100644
--- a/src/plib.mk
+++ b/src/plib.mk
@@ -18,6 +18,7 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+ cd '$(1)' && autoreconf -fi
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
PKG_CONFIG='$(TARGET)-pkg-config'
@@ -26,5 +27,6 @@ define $(PKG)_BUILD
sbin_PROGRAMS= \
noinst_PROGRAMS= \
html_DATA= \
+ LDFLAGS=-no-undefined
AR='$(TARGET)-ar'
endef