summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-05-21 11:34:44 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-05-21 11:34:44 +0000
commitbfcf8e5e061b048c925f0741512d3a60cfadc71d (patch)
tree771d813abe3fcc3995392bc93c7b35006f1813a1
parentd8b06fac29e6d41e1413ef4719f9c30572ea1737 (diff)
downloadgst-plugins-bad-bfcf8e5e061b048c925f0741512d3a60cfadc71d.tar.gz
gst-plugins-bad-bfcf8e5e061b048c925f0741512d3a60cfadc71d.tar.bz2
gst-plugins-bad-bfcf8e5e061b048c925f0741512d3a60cfadc71d.zip
fix mcopidl generator
Original commit message from CVS: fix mcopidl generator
-rw-r--r--ext/arts/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/arts/Makefile.am b/ext/arts/Makefile.am
index d3218ddf..081dc03d 100644
--- a/ext/arts/Makefile.am
+++ b/ext/arts/Makefile.am
@@ -2,8 +2,11 @@
plugin_LTLIBRARIES = libgstarts.la
SUFFIXES = .idl
+# on FC2, artsc-config --cflags has -pthread, which mcopidl doesn't like
+# If someone has time and energy, please check if -pthread should be allowed
+# in compile flags at all.
.idl.cc:
- mcopidl -t $(ARTS_CXXFLAGS) $<
+ mcopidl -t `echo $(ARTS_CXXFLAGS) | sed 's/-pthread//g'` $<
# mcopidl Extension Expansion Technology clean up
CLEANFILES = gst_artsio.h gst_artsio.cc gst_artsio.mcopclass gst_artsio.mcoptype