summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/ndk-build/tools.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/ndk-build/tools.mk b/data/ndk-build/tools.mk
index 5aa46889..7f1a836d 100644
--- a/data/ndk-build/tools.mk
+++ b/data/ndk-build/tools.mk
@@ -23,13 +23,13 @@
# Make pkg-config relocatable
# set PKG_CONFIG_LIBDIR and override the prefix and libdir variables
ifeq ($(HOST_OS),windows)
- HOST_PKG_CONFIG := $(GSTREAMER_NDK_BUILD_PATH)/tools/windows/pkg-config
+ PKG_CONFIG_PATH := $(GSTREAMER_NDK_BUILD_PATH)/tools/windows/pkg-config
# No space before the &&, or it will be added to PKG_CONFIG_LIBDIR
- PKG_CONFIG_ORIG := set PKG_CONFIG_LIBDIR=$(GSTREAMER_ROOT)/lib/pkgconfig&& $(HOST_PKG_CONFIG)
+ PKG_CONFIG_ORIG := set PKG_CONFIG_LIBDIR=$(GSTREAMER_ROOT)/lib/pkgconfig&& $(PKG_CONFIG_PATH)
GSTREAMER_ROOT := $(subst \,/,$(GSTREAMER_ROOT))
else
- HOST_PKG_CONFIG := pkg-config
- PKG_CONFIG_ORIG := PKG_CONFIG_LIBDIR=$(GSTREAMER_ROOT)/lib/pkgconfig $(HOST_PKG_CONFIG)
+ PKG_CONFIG_PATH := pkg-config
+ PKG_CONFIG_ORIG := PKG_CONFIG_LIBDIR=$(GSTREAMER_ROOT)/lib/pkgconfig $(PKG_CONFIG_PATH)
endif
PKG_CONFIG := $(PKG_CONFIG_ORIG) --define-variable=prefix=$(GSTREAMER_ROOT) --define-variable=libdir=$(GSTREAMER_ROOT)/lib