diff options
author | Tony Theodore <tonyt@logyst.com> | 2018-04-07 05:00:02 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2018-04-07 05:00:17 (GMT) |
commit | 85e059caa995c2257ebc5eb0ef34aff89ee940f4 (patch) | |
tree | d91ee2fba5a9920c858ba871bc91a0072e91adfd /src/xmlsec.mk | |
parent | cf98a16a87de2c202e130ccf4fcf8553260f5496 (diff) | |
download | mxe-85e059caa995c2257ebc5eb0ef34aff89ee940f4.zip mxe-85e059caa995c2257ebc5eb0ef34aff89ee940f4.tar.gz mxe-85e059caa995c2257ebc5eb0ef34aff89ee940f4.tar.bz2 |
xmlsec: add test and fix static *.pc files
Diffstat (limited to 'src/xmlsec.mk')
-rw-r--r-- | src/xmlsec.mk | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/xmlsec.mk b/src/xmlsec.mk index 5b38656..972a84b 100644 --- a/src/xmlsec.mk +++ b/src/xmlsec.mk @@ -13,10 +13,14 @@ define $(PKG)_BUILD cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \ $(MXE_CONFIGURE_OPTS) \ --enable-docs=no \ - --enable-apps=no \ - --enable-shared=$(if $(BUILD_STATIC),no,yes) \ - --enable-static=$(if $(BUILD_STATIC),yes,no) + --enable-apps=no $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' VERBOSE=1 $(MXE_DISABLE_CRUFT) $(MAKE) -C '$(BUILD_DIR)' -j 1 install VERBOSE=1 $(MXE_DISABLE_CRUFT) + + # compile test + '$(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` endef |