diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2017-12-21 14:03:16 -0500 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2018-01-26 15:55:24 -0500 |
commit | 072feae4f1825f1416ea1babc8f5db3802b0f710 (patch) | |
tree | 6f53a99e316a44d9a0961ea9408dfff3480f167f | |
parent | d9914b60e86af229aa78eedf2ab605b30ac0fc96 (diff) |
gst-android: Add an .exe suffix to gold on windows
https://bugzilla.gnome.org/show_bug.cgi?id=791854
-rw-r--r-- | data/ndk-build/gstreamer-1.0.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/data/ndk-build/gstreamer-1.0.mk b/data/ndk-build/gstreamer-1.0.mk index de88e81e..91ae9279 100644 --- a/data/ndk-build/gstreamer-1.0.mk +++ b/data/ndk-build/gstreamer-1.0.mk @@ -60,9 +60,11 @@ G_IO_MODULES_PATH := $(GSTREAMER_ROOT)/lib/gio/modules/static ifeq ($(HOST_OS),windows) SED := $(GSTREAMER_NDK_BUILD_PATH)/tools/windows/sed SED_LOCAL := "$(GSTREAMER_NDK_BUILD_PATH)/tools/windows/sed" + EXE_SUFFIX := .exe else SED := sed SED_LOCAL := sed + EXE_SUFFIX := endif ifndef GSTREAMER_ANDROID_MODULE_NAME @@ -74,7 +76,7 @@ GSTREAMER_ANDROID_SO := $(GSTREAMER_BUILD_DIR)/lib$(GSTREAMER_ANDROID_M GSTREAMER_ANDROID_C := $(GSTREAMER_BUILD_DIR)/$(GSTREAMER_ANDROID_MODULE_NAME).c GSTREAMER_ANDROID_C_IN := $(GSTREAMER_NDK_BUILD_PATH)/gstreamer_android-1.0.c.in GSTREAMER_DEPS := $(GSTREAMER_EXTRA_DEPS) gstreamer-1.0 -GSTREAMER_LD := -fuse-ld=gold -Wl,-soname,lib$(GSTREAMER_ANDROID_MODULE_NAME).so +GSTREAMER_LD := -fuse-ld=gold$(EXE_SUFFIX) -Wl,-soname,lib$(GSTREAMER_ANDROID_MODULE_NAME).so ################################ # NDK Build Prebuilt library # |