summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2021-01-12 08:31:36 (GMT)
committerTony Theodore <tonyt@logyst.com>2021-01-12 08:31:36 (GMT)
commit64b283d64891348c92154b8d7eace6a9bff23411 (patch)
treef79a7bc1bb16c800731eb221d807565c1af4c252
parent54c5d592869f3d56f4b7a80c3c9d67e2325c3dff (diff)
downloadmxe-build-2021-01-10.zip
mxe-build-2021-01-10.tar.gz
mxe-build-2021-01-10.tar.bz2
libzip: fix include dirbuild-2021-01-10
-rw-r--r--src/libzip.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libzip.mk b/src/libzip.mk
index 50f0ff4..d33c5a5 100644
--- a/src/libzip.mk
+++ b/src/libzip.mk
@@ -11,7 +11,7 @@ $(PKG)_DEPS := cc bzip2 zlib
define $(PKG)_BUILD
# build and install the library
cd '$(BUILD_DIR)' && $(TARGET)-cmake '$(SOURCE_DIR)' \
- -DCMAKE_INSTALL_INCLUDEDIR='$(PREFIX)/$(TARGET)/include/$(PKG)' \
+ -DCMAKE_INSTALL_INCLUDEDIR='include/$(PKG)' \
-DENABLE_GNUTLS=OFF \
-DENABLE_OPENSSL=OFF \
-DENABLE_COMMONCRYPTO=OFF
@@ -22,7 +22,7 @@ define $(PKG)_BUILD
$(INSTALL) -m644 '$(BUILD_DIR)/libzip.pc' '$(PREFIX)/$(TARGET)/lib/pkgconfig'
'$(TARGET)-gcc' \
- -W -Wall -Werror -ansi -pedantic \
+ -W -Wall -Werror -pedantic \
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-libzip.exe' \
`'$(TARGET)-pkg-config' libzip --cflags --libs`
endef