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
This commit is contained in:
riccardom 2011-04-18 17:12:49 +00:00
parent 9acc466729
commit dc78778ae2
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ wxdesmume_SOURCES = \
StringUtil.h StringUtil.cpp \ StringUtil.h StringUtil.cpp \
wxMain.cpp wxMain.cpp
wxdesmume_LDADD = ../libdesmume.a \ 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 if HAVE_GDB_STUB
wxdesmume_LDADD += ../gdbstub/libgdbstub.a wxdesmume_LDADD += ../gdbstub/libgdbstub.a
endif endif