summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-07-06 12:32:06 +0300
committerSebastian Dröge <sebastian@centricular.com>2016-07-06 12:33:11 +0300
commita6c9465f2d93453cc44bd04551387a6f113e40ab (patch)
tree7dc68d5cc19544690f900cfc77fea8f768fb477e
parentf2aa053eb64098079c97e3c8dd2b2a1522907351 (diff)
android: Remove \n from the source generator
On OSX they apparently end up as literal '\n' in the code instead of newlines. https://bugzilla.gnome.org/show_bug.cgi?id=768456
-rwxr-xr-xdata/ndk-build/gstreamer-1.0.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/ndk-build/gstreamer-1.0.mk b/data/ndk-build/gstreamer-1.0.mk
index 1f896194..06bd00a1 100755
--- a/data/ndk-build/gstreamer-1.0.mk
+++ b/data/ndk-build/gstreamer-1.0.mk
@@ -142,18 +142,18 @@ GSTREAMER_PLUGINS_WITH_CLASSES := $(strip \
# Generate the plugins' declaration strings
GSTREAMER_PLUGINS_DECLARE := $(foreach plugin, $(GSTREAMER_PLUGINS), \
- GST_PLUGIN_STATIC_DECLARE($(plugin));\n)
+ GST_PLUGIN_STATIC_DECLARE($(plugin));)
# Generate the plugins' registration strings
GSTREAMER_PLUGINS_REGISTER := $(foreach plugin, $(GSTREAMER_PLUGINS), \
- GST_PLUGIN_STATIC_REGISTER($(plugin));\n)
+ GST_PLUGIN_STATIC_REGISTER($(plugin));)
# Generate list of gio modules
G_IO_MODULES_PATH := $(foreach path, $(G_IO_MODULES_PATH), -L$(path))
G_IO_MODULES_LIBS := $(foreach module, $(G_IO_MODULES), -lgio$(module))
G_IO_MODULES_DECLARE := $(foreach module, $(G_IO_MODULES), \
- GST_G_IO_MODULE_DECLARE($(module));\n)
+ GST_G_IO_MODULE_DECLARE($(module));)
G_IO_MODULES_LOAD := $(foreach module, $(G_IO_MODULES), \
- GST_G_IO_MODULE_LOAD($(module));\n)
+ GST_G_IO_MODULE_LOAD($(module));)
# Get the full list of libraries
# link at least to gstreamer-1.0 in case the plugins list is empty