summaryrefslogtreecommitdiff
path: root/gcell/lib
diff options
context:
space:
mode:
Diffstat (limited to 'gcell/lib')
-rw-r--r--gcell/lib/wrapper/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcell/lib/wrapper/Makefile.am b/gcell/lib/wrapper/Makefile.am
index 0676ebb70..5ec7e5615 100644
--- a/gcell/lib/wrapper/Makefile.am
+++ b/gcell/lib/wrapper/Makefile.am
@@ -20,7 +20,8 @@
include $(top_srcdir)/Makefile.common
-AM_CPPFLAGS = $(DEFINES) $(GCELL_INCLUDES) $(FFTW3F_CFLAGS) $(WITH_INCLUDES)
+# $(WITH_INCLUDES) must _always_ be last
+AM_CPPFLAGS = $(DEFINES) $(GCELL_INCLUDES) $(FFTW3F_CPPFLAGS) $(WITH_INCLUDES)
noinst_LTLIBRARIES = libwrapper.la libwrapper-qa.la