1 diff -rupN libretro-bsnes-hd.orig/bsnes/GNUmakefile libretro-bsnes-hd/bsnes/GNUmakefile
2 --- libretro-bsnes-hd.orig/bsnes/GNUmakefile 2020-01-29 12:32:57.736128837 +0100
3 +++ libretro-bsnes-hd/bsnes/GNUmakefile 2020-01-29 12:40:58.993295237 +0100
4 @@ -39,8 +39,8 @@ else ifneq ($(filter $(platform),linux b
5 options += -Wl,-export-dynamic
6 options += -lX11 -lXext
7 else ifeq ($(binary),library)
10 + flags += $(CXXFLAGS) -fPIC
11 + options += $(LDFLAGS) -shared