Merge pull request #58 from psyke83/master
authorTwinaphex <libretro@gmail.com>
Tue, 5 Sep 2017 19:50:12 +0000 (21:50 +0200)
committerGitHub <noreply@github.com>
Tue, 5 Sep 2017 19:50:12 +0000 (21:50 +0200)
libretro: fix unexpected reloc type 0x03 error on Raspberry Pi 3

Makefile.libretro

index 306c8af..14f2dc5 100644 (file)
@@ -366,7 +366,7 @@ else ifeq ($(platform), qnx)
 # ARM
 else ifneq (,$(findstring armv,$(platform)))
        TARGET := $(TARGET_NAME)_libretro.so
-       SHARED := -shared -Wl,--no-undefined
+       SHARED := -shared -Wl,--no-undefined,-Bsymbolic
    fpic := -fPIC
        ifneq (,$(findstring cortexa5,$(platform)))
                CFLAGS += -marm -mcpu=cortex-a5