summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2003-01-10 10:24:06 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2003-01-10 10:24:06 +0000
commita1d7f2643770a8d26fdbd1efb046b937c678e0a1 (patch)
tree8140929ee5273c6449bf1011017ab4c9e2e484c1
parent424db0d3aea0ce26a35ba381b4e439f32e50c961 (diff)
downloadgst-plugins-bad-a1d7f2643770a8d26fdbd1efb046b937c678e0a1.tar.gz
gst-plugins-bad-a1d7f2643770a8d26fdbd1efb046b937c678e0a1.tar.bz2
gst-plugins-bad-a1d7f2643770a8d26fdbd1efb046b937c678e0a1.zip
my candidate for silliest hack of the year
Original commit message from CVS: my candidate for silliest hack of the year
-rw-r--r--gst/modplug/Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/gst/modplug/Makefile.am b/gst/modplug/Makefile.am
index 9734ef4b..1aecfc34 100644
--- a/gst/modplug/Makefile.am
+++ b/gst/modplug/Makefile.am
@@ -13,3 +13,13 @@ libgstmodplug_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -lstdc++
noinst_HEADERS = gstmodplug.h modplug_types.h
+# this is the silliest hack I ever did, but for some reason some dependency
+# tracking is not able to figure out that the actual file is gstmodplug.cc
+# I appreciate any help into fixing this mess definitively
+# I suspect a libtool bug, because in the end it doesn't even *use* the .c
+# file; my libtool version when seeing this bug was 1.4.2
+gstmodplug.c: gstmodplug.cc
+ cp $(srcdir)/gstmodplug.cc gstmodplug.c
+
+modplug_types.c: modplug_types.cc
+ cp $(srcdir)/modplug_types.cc modplug_types.c