Commit 01e26fc2 authored by Andoni Morales Alastruey's avatar Andoni Morales Alastruey
Browse files

ndk-build: force the C compiler to build the gstreamer library

_CC is set to the default compiler, which might be g++ instead
of gcc for C++ projects.
parent 93e2a8af
......@@ -145,7 +145,7 @@ GSTREAMER_ANDROID_LIBS := $(call fix-deps,-lgiognutls, -lhogweed)
GSTREAMER_ANDROID_CFLAGS := $(call pkg-config-get-includes,$(GSTREAMER_DEPS)) -I$(GSTREAMER_SDK_ROOT)/include
# Create the link command
GSTREAMER_ANDROID_CMD := $(call libtool-link,$(_CC) $(LDFLAGS) -shared --sysroot=$(SYSROOT) \
GSTREAMER_ANDROID_CMD := $(call libtool-link,$(TARGET_CC) $(LDFLAGS) -shared --sysroot=$(SYSROOT) \
......@@ -165,12 +165,12 @@ genstatic:
# Compile the source file
# Creates a shared library including gstreamer, its plugins and all the dependencies
buildsharedlibrary: $(GSTREAMER_ANDROID_O)
@$(call host-mkdir,src/com/gstreamer)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment