summaryrefslogtreecommitdiffstats
path: root/gst/modplug
diff options
context:
space:
mode:
Diffstat (limited to 'gst/modplug')
-rw-r--r--gst/modplug/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/modplug/Makefile.am b/gst/modplug/Makefile.am
index b5b4f755..2bd7fb6b 100644
--- a/gst/modplug/Makefile.am
+++ b/gst/modplug/Makefile.am
@@ -8,7 +8,8 @@ libgstmodplug_la_SOURCES = modplug_types.c gstmodplug.cc
libgstmodplug_la_CFLAGS = $(GST_CFLAGS)
libgstmodplug_la_CXXFLAGS = $(GST_CFLAGS)
libgstmodplug_la_LIBADD = $(top_builddir)/gst/modplug/libmodplug/libmodplug.la
-libgstmodplug_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
+# we add stdc++ because it'll be used by C programs
+libgstmodplug_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -lstdc++
noinst_HEADERS = gstmodplug.h modplug_types.h