From 072feae4f1825f1416ea1babc8f5db3802b0f710 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Thu, 21 Dec 2017 14:03:16 -0500 Subject: gst-android: Add an .exe suffix to gold on windows https://bugzilla.gnome.org/show_bug.cgi?id=791854 --- data/ndk-build/gstreamer-1.0.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 # -- cgit v1.2.3