mirror of
https://github.com/libretro/RetroArch
synced 2025-02-03 17:54:04 +00:00
Fix libretro-test-gl build for Pi.
This commit is contained in:
parent
5a18424744
commit
84d5ee51ca
@ -24,6 +24,13 @@ else ifeq ($(platform), osx)
|
|||||||
fpic := -fPIC
|
fpic := -fPIC
|
||||||
SHARED := -dynamiclib
|
SHARED := -dynamiclib
|
||||||
GL_LIB := -framework OpenGL
|
GL_LIB := -framework OpenGL
|
||||||
|
else ifeq ($(platform), pi)
|
||||||
|
TARGET := $(TARGET_NAME)_libretro.so
|
||||||
|
fpic := -fPIC
|
||||||
|
SHARED := -shared -Wl,--version-script=link.T -Wl,--no-undefined
|
||||||
|
CFLAGS += -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/vmcs_host/linux
|
||||||
|
GLES := 1
|
||||||
|
LIBS += -L/opt/vc/lib
|
||||||
else ifeq ($(platform), ios)
|
else ifeq ($(platform), ios)
|
||||||
TARGET := $(TARGET_NAME)_libretro_ios.dylib
|
TARGET := $(TARGET_NAME)_libretro_ios.dylib
|
||||||
fpic := -fPIC
|
fpic := -fPIC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user