From ee235d2abc2f82167a0382c1e7778ea6b1af5464 Mon Sep 17 00:00:00 2001 From: zeromus Date: Mon, 3 Jul 2017 09:37:45 -0500 Subject: [PATCH] fix gdbstub compiling in posix frontend. didnt really test it... should fix #73 --- desmume/src/Makefile.am | 3 --- desmume/src/frontend/posix/Makefile.am | 5 ++--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/desmume/src/Makefile.am b/desmume/src/Makefile.am index bcf5d2996..f3185e918 100644 --- a/desmume/src/Makefile.am +++ b/desmume/src/Makefile.am @@ -256,6 +256,3 @@ if HAVE_LUA AM_CPPFLAGS += $(LUA_CFLAGS) libdesmume_a_SOURCES += lua-engine.cpp endif -if HAVE_GDB_STUB -libdesmume_a_SOURCES += gdbstub.h -endif diff --git a/desmume/src/frontend/posix/Makefile.am b/desmume/src/frontend/posix/Makefile.am index d19819d06..59b0fb3bc 100644 --- a/desmume/src/frontend/posix/Makefile.am +++ b/desmume/src/frontend/posix/Makefile.am @@ -1,7 +1,5 @@ include desmume.mk -# TODO: readd gdbstub. just do it as sources, no autotools cruft - AM_CPPFLAGS += $(SDL_CFLAGS) $(GTHREAD_CFLAGS) $(X_CFLAGS) $(ALSA_CFLAGS) $(LIBAGG_CFLAGS) $(LIBSOUNDTOUCH_CFLAGS) @@ -239,6 +237,7 @@ AM_CPPFLAGS += $(LUA_CFLAGS) libdesmume_a_SOURCES += ../../lua-engine.cpp endif if HAVE_GDB_STUB +libdesmume_a_SOURCES += ../../gdbstub/gdbstub.cpp +libdesmume_a_SOURCES += ../../gdbstub/gdbstub_internal.h libdesmume_a_SOURCES += ../../gdbstub.h -libdesmume_a_SOURCES += ../../gdbstub/gdbstub.h endif