diff options
-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 # |