Keep working on Android shared libs...

This commit is contained in:
Ray San 2017-10-04 12:51:53 +02:00
parent 412c52499a
commit 9000fc28a3
8 changed files with 3 additions and 3 deletions

View File

@ -261,7 +261,7 @@ ifeq ($(PLATFORM),PLATFORM_ANDROID)
# Force linking of library module to define symbol # Force linking of library module to define symbol
LDFLAGS += -u ANativeActivity_onCreate LDFLAGS += -u ANativeActivity_onCreate
# Library paths containing required libs # Library paths containing required libs
LDFLAGS += -L. -Lsrc -L$(OUTPUT_PATH) LDFLAGS += -L. -Lsrc -L$(OUTPUT_PATH) -Lexternal/openal_soft/lib/android
LDLIBS = -lopenal -llog -landroid -lEGL -lGLESv2 -lOpenSLES -latomic -lc -lm LDLIBS = -lopenal -llog -landroid -lEGL -lGLESv2 -lOpenSLES -latomic -lc -lm
endif endif

Binary file not shown.

View File

@ -33,8 +33,8 @@ PROJECT_DIR = ./
LIBRARY_NAME = raylib_game LIBRARY_NAME = raylib_game
# define libtype for raylib and OpenAL Soft: STATIC (.a) or SHARED (.so/.dll) # define libtype for raylib and OpenAL Soft: STATIC (.a) or SHARED (.so/.dll)
RAYLIB_LIBTYPE ?= STATIC RAYLIB_LIBTYPE ?= SHARED
OPENAL_LIBTYPE ?= STATIC OPENAL_LIBTYPE ?= SHARED
# add shared libs to APK if required # add shared libs to APK if required
ifeq ($(RAYLIB_LIBTYPE),SHARED) ifeq ($(RAYLIB_LIBTYPE),SHARED)