summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-05-13 14:19:25 +0200
committerHarald Welte <laforge@gnumonks.org>2011-05-13 14:19:25 +0200
commit5f866dcf315b459b49b3b8439ada2532665cdf5c (patch)
treec51725295961758a7802e33c8e32091b96cd2de0
parent5fea9ab85029df7b3a4b16a24b4d58c353e811b2 (diff)
Fix swig 'unrecognized option -pthread' compile error
GNURADIO_CORE_CFLAGS may set '-pthread' which is not parseable by swig, so we need to explicitly use GNURADIO_CORE_INCLUDEDIR instead. Also, the GNURADIO_CORE_INCLUDEDIR/swig directory needs to be explicitly specified in Makefile.common
-rw-r--r--gsm-receiver/Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/gsm-receiver/Makefile.common b/gsm-receiver/Makefile.common
index 4941eaa..f368e04 100644
--- a/gsm-receiver/Makefile.common
+++ b/gsm-receiver/Makefile.common
@@ -36,7 +36,8 @@ TCH_DECODER_INCLUDEDIR = $(top_srcdir)/src/lib/decoder/openbtsstuff
STD_DEFINES_AND_INCLUDES = \
-I$(DECODER_INCLUDEDIR) \
-I$(MAIN_INCLUDEDIR) \
- $(GNURADIO_CORE_CFLAGS) \
+ -I$(GNURADIO_CORE_INCLUDEDIR) \
+ -I$(GNURADIO_CORE_INCLUDEDIR)/swig \
$(LIBOSMOCORE_CFLAGS) \
-I$(TCH_DECODER_INCLUDEDIR)
personal git repositories of Harald Welte. Your mileage may vary