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
1616export STRIP=" ${TOOLCHAIN} " /bin/${ANDROID_TARGET_BINUTILS} -strip
1717export PKG_CONFIG_PATH=" ${INSTALL_PREFIX} /lib/pkgconfig"
1818
19- # some libraries require this
20- export CFLAGS=" -I${INSTALL_PREFIX} /include"
21- export CPPFLAGS=" -I${INSTALL_PREFIX} /include"
22-
2319# -fuse-ld=gold required to work around BFD ld linker bugs on arm64 with gnustep-2.0 libobjc runtime
2420# -rpath-link required for linker to find libcxxrt dependency of libobjc
2521# --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"
1616echo -e " \n### Running configure"
1717./configure \
1818 --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" \
2023
2124echo -e " \n### Building"
2225make -j${MAKE_JOBS} ${GNUSTEP_MAKE_OPTIONS}
You can’t perform that action at this time.
0 commit comments