wtf headless mode restricted

This commit is contained in:
Tran Khanh Duy 2020-10-24 18:07:36 +07:00 committed by GitHub
parent 68345bb090
commit c9e1ea08ed
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 CFLAGS+=" -DLE_STANDALONE=1 -DHEADLESS=1" # -I$FREETYPE_DIR -I$CUPS_DIR
export CFLAGS+=" -DLE_STANDALONE -DHEADLESS" # -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