Skip to content

Instantly share code, notes, and snippets.

@nickrobison
Created September 15, 2013 01:12
Show Gist options
  • Save nickrobison/6567217 to your computer and use it in GitHub Desktop.
Save nickrobison/6567217 to your computer and use it in GitHub Desktop.
diff --git a/src/saga_core/saga_gui/Makefile.am b/src/saga_core/saga_gui/Makefile.am
index 814de8b..b52d3f1 100644
--- a/src/saga_core/saga_gui/Makefile.am
+++ b/src/saga_core/saga_gui/Makefile.am
@@ -11,7 +11,7 @@ MSHAREPATH = "SHARE_PATH=\"$(prefix)/share/saga\""
BASEFLAGS = -fPIC -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_DONOTUSE_HARU -D$(MLIBPATH) -D$(MSHAREPATH) $(DBGFLAGS) $(INCS)
if SAGA_UNICODE
AM_CXXFLAGS = $(BASEFLAGS) `wx-config --unicode=yes --cxxflags` -D_SAGA_UNICODE $(GOMPFLAGS)
-AM_LDFLAGS = -fPIC `wx-config --unicode=yes --libs adv,aui,base,core,html,net,propgrid,xml`
+AM_LDFLAGS = -fPIC `wx-config --unicode=yes --libs adv,core,html,net,xml`
else
AM_CXXFLAGS = $(BASEFLAGS) `wx-config --unicode=no --cxxflags` $(GOMPFLAGS)
AM_LDFLAGS = -fPIC `wx-config --unicode=no --libs adv,aui,base,core,html,net,propgrid,xml`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment