diff --git a/Makefile b/Makefile index a9aab37..3152bf3 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ OBJS += libretro.o ASFLAGS = $(CFLAGS) INCDIRS := -I. -LDFLAGS += -shared -m32 +LDFLAGS += -shared -m32 -Wl,--no-undefined -Wl,--version-script=link.T LDLIBS += -lz diff --git a/link.T b/link.T new file mode 100644 index 0000000..a90d3a8 --- /dev/null +++ b/link.T @@ -0,0 +1,6 @@ +{ + global: retro_*; + local: *; +}; + +