xmlsec: fix dlfcn detection after dlfcn update

This commit is contained in:
Tony Theodore 2019-06-29 17:32:30 +10:00
parent 187e2dac09
commit b9280d76d2
1 changed files with 3 additions and 2 deletions

View File

@ -13,7 +13,8 @@ define $(PKG)_BUILD
cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \
$(MXE_CONFIGURE_OPTS) \
--enable-docs=no \
--enable-apps=no
--enable-apps=no \
LIBS="`$(TARGET)-pkg-config --libs-only-l dlfcn`"
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' VERBOSE=1 $(MXE_DISABLE_CRUFT) LIBS=-lgcrypt
$(MAKE) -C '$(BUILD_DIR)' -j 1 install VERBOSE=1 $(MXE_DISABLE_CRUFT)
@ -22,5 +23,5 @@ define $(PKG)_BUILD
'$(TARGET)-gcc' \
-W -Wall -ansi -pedantic \
'$(SOURCE_DIR)/examples/decrypt1.c' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \
`'$(TARGET)-pkg-config' xmlsec1-openssl --cflags --libs`
`'$(TARGET)-pkg-config' xmlsec1-openssl dlfcn --cflags --libs`
endef