summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-08-18 00:25:10 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-08-18 00:25:10 (GMT)
commit329422ed0d214edc9fdadd2292364b15dca01782 (patch)
tree74e36f3e5b4581e5b910ba0a1a0e379d124a131c /src
parent99f041fc86db1292768beaf75e6e3af0024f90b1 (diff)
downloadmxe-329422ed0d214edc9fdadd2292364b15dca01782.zip
mxe-329422ed0d214edc9fdadd2292364b15dca01782.tar.gz
mxe-329422ed0d214edc9fdadd2292364b15dca01782.tar.bz2
apr-util: enable shared builds
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/apr-util.mk10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/apr-util.mk b/src/apr-util.mk
index 89c5fb4..38a06fb 100644
--- a/src/apr-util.mk
+++ b/src/apr-util.mk
@@ -19,18 +19,12 @@ endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
- --prefix='$(PREFIX)/$(TARGET)' \
- --host='$(TARGET)' \
- --build="`config.guess`" \
- --disable-shared \
- --enable-static \
+ $(MXE_CONFIGURE_OPTS) \
--without-pgsql \
--without-sqlite2 \
--without-sqlite3 \
--with-apr='$(PREFIX)/$(TARGET)' \
CFLAGS=-D_WIN32_WINNT=0x0500
- $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS=
+ $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= LDFLAGS=-no-undefined
ln -sf '$(PREFIX)/$(TARGET)/bin/apu-1-config' '$(PREFIX)/bin/$(TARGET)-apu-1-config'
endef
-
-$(PKG)_BUILD_SHARED =