From dc78778ae23f7af4792c8b2583979e00cc409666 Mon Sep 17 00:00:00 2001 From: riccardom Date: Mon, 18 Apr 2011 17:12:49 +0000 Subject: [PATCH] wx: link against xlib /usr/bin/ld: PadSimple.o: undefined reference to symbol 'XLookupKeysym' /usr/bin/ld: note: 'XLookupKeysym' is defined in DSO //usr/lib/libX11.so.6 so try adding it to the linker command line //usr/lib/libX11.so.6: could not read symbols: Invalid operation --- desmume/src/wx/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/wx/Makefile.am b/desmume/src/wx/Makefile.am index ebc0fd3f2..6ebdb63cd 100644 --- a/desmume/src/wx/Makefile.am +++ b/desmume/src/wx/Makefile.am @@ -27,7 +27,7 @@ wxdesmume_SOURCES = \ StringUtil.h StringUtil.cpp \ wxMain.cpp wxdesmume_LDADD = ../libdesmume.a \ - $(SDL_LIBS) $(GTHREAD_LIBS) $(GLIB_LIBS) $(ALSA_LIBS) $(LIBAGG_LIBS) $(WX_LIBS) + $(SDL_LIBS) $(GTHREAD_LIBS) $(GLIB_LIBS) $(ALSA_LIBS) $(LIBAGG_LIBS) $(WX_LIBS) -lX11 if HAVE_GDB_STUB wxdesmume_LDADD += ../gdbstub/libgdbstub.a endif