summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gst-plugins-base.mk3
-rw-r--r--src/gst-plugins-good.mk3
-rw-r--r--src/gstreamer.mk2
3 files changed, 8 insertions, 0 deletions
diff --git a/src/gst-plugins-base.mk b/src/gst-plugins-base.mk
index 3306794..5c64c33 100644
--- a/src/gst-plugins-base.mk
+++ b/src/gst-plugins-base.mk
@@ -19,6 +19,9 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+ find '$(1)' -name Makefile.in \
+ -exec $(SED) -i 's,glib-mkenums,$(PREFIX)/$(TARGET)/bin/glib-mkenums,g' {} \; \
+ -exec $(SED) -i 's,glib-genmarshal,$(PREFIX)/$(TARGET)/bin/glib-genmarshal,g' {} \;
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \
diff --git a/src/gst-plugins-good.mk b/src/gst-plugins-good.mk
index d5ef7aa..a95f8a2 100644
--- a/src/gst-plugins-good.mk
+++ b/src/gst-plugins-good.mk
@@ -22,6 +22,9 @@ define $(PKG)_BUILD
cd '$(1)' && aclocal -I m4 -I common/m4
cd '$(1)' && automake
cd '$(1)' && autoconf
+ find '$(1)' -name Makefile.in \
+ -exec $(SED) -i 's,glib-mkenums,$(PREFIX)/$(TARGET)/bin/glib-mkenums,g' {} \; \
+ -exec $(SED) -i 's,glib-genmarshal,$(PREFIX)/$(TARGET)/bin/glib-genmarshal,g' {} \;
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \
diff --git a/src/gstreamer.mk b/src/gstreamer.mk
index 4e5b24b..a152414 100644
--- a/src/gstreamer.mk
+++ b/src/gstreamer.mk
@@ -19,6 +19,8 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
+ $(SED) -i 's,glib-mkenums,$(PREFIX)/$(TARGET)/bin/glib-mkenums,g' '$(1)'/gst/Makefile.in
+ $(SED) -i 's,glib-genmarshal,$(PREFIX)/$(TARGET)/bin/glib-genmarshal,g' '$(1)'/gst/Makefile.in
cd '$(1)' && ./configure \
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)' \