summaryrefslogtreecommitdiff
path: root/data/_apt1.4/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/_apt1.4/make.sh')
-rw-r--r--data/_apt1.4/make.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/_apt1.4/make.sh b/data/_apt1.4/make.sh
index 03f8b6868..2f77aa5cf 100644
--- a/data/_apt1.4/make.sh
+++ b/data/_apt1.4/make.sh
@@ -15,6 +15,7 @@ set(CMAKE_CXX_COMPILER ${PKG_TARG}-g++)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+set(DPKG_DATADIR /usr/share/dpkg)
EOF
cmake -j8 -DCMAKE_TOOLCHAIN_FILE=iphoneos_toolchain.cmake -DCMAKE_LOCALSTATEDIR="/private/var" -DCMAKE_INSTALL_NAME_DIR="/usr/lib" -DCMAKE_INSTALL_RPATH="/usr/" -DCMAKE_OSX_SYSROOT="${PKG_ROOT}" -DCMAKE_INSTALL_PREFIX="/usr/" -DCMAKE_SHARED_LINKER_FLAGS="-lresolv" -DCURRENT_VENDOR=debian -DUSE_NLS=0 -DWITH_DOC=0 -DCOMMON_ARCH=${PKG_ARCH} .