Skip to content

Commit

Permalink
Merge pull request #2 from psyke83/libretro_rpi_fix
Browse files Browse the repository at this point in the history
libretro: RPI: use new vendor graphics library names
  • Loading branch information
joolswills authored Nov 21, 2017
2 parents 73bfa58 + d8f24a6 commit 95eab0a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libretro/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,17 @@ else ifneq (,$(findstring rpi,$(platform)))
LDFLAGS += -shared -Wl,--version-script=link.T
fpic = -fPIC
GLES = 1
GL_LIB := -lGLESv2
PLATFORM_EXT := unix
WITH_DYNAREC=arm
LDFLAGS += -lrt -ldl

ifeq (,$(findstring mesa,$(platform)))
GL_LIB := -lbrcmGLESv2
LDFLAGS += -L/opt/vc/lib
INCFLAGS += -I/opt/vc/include -I/opt/vc/include/interface/vcos -I/opt/vc/include/interface/vcos/pthreads
endif
else
GL_LIB := -lGLESv2
endif

ifneq (,$(findstring rpi1,$(platform)))
FFMPEGINCFLAGS += -I$(FFMPEGDIR)/linux/arm/include
Expand Down

0 comments on commit 95eab0a

Please sign in to comment.