LE_STANDALONE

This commit is contained in:
Tran Khanh Duy 2020-10-24 17:02:26 +07:00 committed by GitHub
parent 1f1cd4792a
commit 5d0db8327a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ export FREETYPE_DIR=`pwd`/freetype-2.6.2/build_android-${TARGET_SHORT}
export CUPS_DIR=`pwd`/cups-2.2.4
# simplest to force headless:)
# export CPPFLAGS+=" -DHEADLESS=1" # -I$FREETYPE_DIR -I$CUPS_DIR
export CFLAGS+=" -DLE_STANDALONE=1" # -I$FREETYPE_DIR -I$CUPS_DIR
export LDFLAGS+=" -L`pwd`/dummy_libs -Wl,--warn-unresolved-symbols"
# It isn't good, but need make it build anyways
@ -29,6 +29,8 @@ rm -rf build
# --with-extra-cflags="$CPPFLAGS" \
bash ./configure \
--disable-headful \
--with-extra-cflags="$CFLAGS" \
--with-extra-cxxflags="$CFLAGS" \
--with-extra-ldflags="$LDFLAGS" \
--enable-option-checking=fatal \
--openjdk-target=$TARGET \