Add STATIC_LINKING switch

This commit is contained in:
twinaphex 2016-02-05 15:45:48 +01:00
parent d4a004da7b
commit 81ef187f5d
2 changed files with 6 additions and 0 deletions

View File

@ -199,6 +199,8 @@ build_makefile() {
# TODO: Do $platform type stuff better (requires modding each core)
make_cmdline="$make_cmdline platform=\"$core_build_platform\""
[ -n "$STATIC_LINKING" ] && make_cmdline="$make_cmdline STATIC_LINKING=1"
[ -n "$JOBS" ] && make_cmdline="$make_cmdline -j$JOBS"
[ -n "$DEBUG" ] && make_cmdline="$make_cmdline DEBUG=$DEBUG"

View File

@ -603,6 +603,9 @@ export BUILD_LIBRETRO_GL=1
#for platform-specific cores - only for generic core builds (ie. libretro-build.sh)
#export ENABLE_GLES=1
#Statically link cores
#export STATIC_LINKING=1
#ANDROID DEFINES
#================
@ -629,6 +632,7 @@ export RA_ANDROID_API=android-18
# Retroarch minimum API level (defines low end android version compatability)
export RA_ANDROID_MIN_API=android-9
#OSX DEFINES
#===========