mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-18 08:35:28 -04:00
Try fix CUPS include not found
This commit is contained in:
parent
6035b841a8
commit
3bd64fa686
@ -4,6 +4,9 @@ set -e
|
||||
export FREETYPE_DIR=`pwd`/freetype-2.6.2/build_android-${TARGET_SHORT}
|
||||
export CUPS_DIR=`pwd`/cups-2.2.4
|
||||
|
||||
export CFLAGS+="-I$CUPS_DIR"
|
||||
export CXXFLAGS+="-I$CUPS_DIR"
|
||||
|
||||
# My system's JDK is too old (7.0), so we add an Oracle boot JDK.
|
||||
# Set "USE_SYSTEM_JDK_8=1" to use system jdk instead
|
||||
if [ -z "$USE_SYSTEM_JDK_8" ]
|
||||
|
@ -5,7 +5,7 @@ export NDK=$NDK_HOME
|
||||
export ANDROID_DEVKIT=$NDK/generated-toolchains/android-${TARGET_SHORT}-toolchain
|
||||
export TOOLCHAIN=$ANDROID_DEVKIT
|
||||
|
||||
export CPPFLAGS="-I$NDK/platforms/android-21/arch-${TARGET_SHORT}/usr/include -I/usr/lib"
|
||||
export CPPFLAGS="-I/usr/include -I$NDK/platforms/android-21/arch-${TARGET_SHORT}/usr/include -I/usr/lib"
|
||||
export LDFLAGS="-L$NDK/platforms/android-21/arch-${TARGET_SHORT}/usr/lib"
|
||||
|
||||
# Configure and build.
|
||||
|
Loading…
x
Reference in New Issue
Block a user