~mdw
/
termux-packages
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
14b2b4a
)
cmake: Set CMAKE_SYSTEM_NAME=Android
author
Fredrik Fornwall
<fredrik@fornwall.net>
Sun, 14 Aug 2016 21:44:26 +0000
(17:44 -0400)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Sun, 14 Aug 2016 21:44:26 +0000
(17:44 -0400)
packages/cmake/build.sh
patch
|
blob
|
blame
|
history
diff --git
a/packages/cmake/build.sh
b/packages/cmake/build.sh
index
ca20696
..
f7f6baf
100644
(file)
--- a/
packages/cmake/build.sh
+++ b/
packages/cmake/build.sh
@@
-22,7
+22,7
@@
termux_step_configure () {
-DCMAKE_MAKE_PROGRAM=`which make` \
-DCMAKE_RANLIB=`which ${TERMUX_HOST_PLATFORM}-ranlib` \
-DCMAKE_SKIP_INSTALL_RPATH=ON \
- -DCMAKE_SYSTEM_NAME=
Linux
\
+ -DCMAKE_SYSTEM_NAME=
Android
\
-DCMAKE_USE_SYSTEM_LIBRARIES=True \
-DZLIB_INCLUDE_DIR=$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/include \
-DZLIB_LIBRARY=$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib/libz.so \