File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,6 @@ export RANLIB="${TOOLCHAIN}"/bin/${ANDROID_TARGET_BINUTILS}-ranlib
16
16
export STRIP=" ${TOOLCHAIN} " /bin/${ANDROID_TARGET_BINUTILS} -strip
17
17
export PKG_CONFIG_PATH=" ${INSTALL_PREFIX} /lib/pkgconfig"
18
18
19
- # some libraries require this
20
- export CFLAGS=" -I${INSTALL_PREFIX} /include"
21
- export CPPFLAGS=" -I${INSTALL_PREFIX} /include"
22
-
23
19
# -fuse-ld=gold required to work around BFD ld linker bugs on arm64 with gnustep-2.0 libobjc runtime
24
20
# -rpath-link required for linker to find libcxxrt dependency of libobjc
25
21
# --build-id=sha1 required for Android Studio to locate debug information
Original file line number Diff line number Diff line change @@ -16,7 +16,10 @@ echo "### Source GNUstep.sh"
16
16
echo -e " \n### Running configure"
17
17
./configure \
18
18
--host=${ANDROID_TARGET} \
19
- --prefix=" ${INSTALL_PREFIX} "
19
+ --prefix=" ${INSTALL_PREFIX} " \
20
+ ` # for some reason we need to manually specify the include dir` \
21
+ CFLAGS=" ${CFLAGS} -I${INSTALL_PREFIX} /include" \
22
+ CPPFLAGS=" ${CPPFLAGS} -I${INSTALL_PREFIX} /include" \
20
23
21
24
echo -e " \n### Building"
22
25
make -j${MAKE_JOBS} ${GNUSTEP_MAKE_OPTIONS}
You can’t perform that action at this time.
0 commit comments