summaryrefslogtreecommitdiff
path: root/gr-uhd/swig
diff options
context:
space:
mode:
Diffstat (limited to 'gr-uhd/swig')
-rw-r--r--gr-uhd/swig/Makefile.am7
1 files changed, 3 insertions, 4 deletions
diff --git a/gr-uhd/swig/Makefile.am b/gr-uhd/swig/Makefile.am
index 9eb3eab11..33a690a7b 100644
--- a/gr-uhd/swig/Makefile.am
+++ b/gr-uhd/swig/Makefile.am
@@ -25,7 +25,9 @@ AM_CPPFLAGS = \
$(STD_DEFINES_AND_INCLUDES) \
$(PYTHON_CPPFLAGS) \
$(WITH_INCLUDES) \
- $(UHD_CFLAGS)
+ $(UHD_CPPFLAGS)
+
+uhd_swig_swig_args = $(UHD_CPPFLAGS)
if PYTHON
# ----------------------------------------------------------------
@@ -55,9 +57,6 @@ uhd_swig_swiginclude_headers =
include $(top_srcdir)/Makefile.swig
-# FIXME better way to set this?
-STD_SWIG_PYTHON_ARGS += $(UHD_CFLAGS)
-
# add some of the variables generated inside the Makefile.swig.gen
BUILT_SOURCES = $(swig_built_sources)