summaryrefslogtreecommitdiffstats
path: root/package/docker/docker.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/docker/docker.mk')
-rw-r--r--package/docker/docker.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/docker/docker.mk b/package/docker/docker.mk
index 4152d43ab..f82a48055 100644
--- a/package/docker/docker.mk
+++ b/package/docker/docker.mk
@@ -12,7 +12,9 @@ DOCKER_INSTALL_TARGET = YES
DOCKER_MAKE_OPT = CC=$(TARGET_CC) CXX=$(TARGET_CXX) LD=$(TARGET_LD) \
CFLAGS="-I$(STAGING_DIR)/usr/include" \
- LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"
+ LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
+ PKGCONFIG="$(STAGING_DIR)/usr/bin/pkg-config" \
+ PKG_CONFIG_SYSROOT="$(STAGING_DIR)"
DOCKER_INSTALL_TARGET_OPT = PREFIX=$(TARGET_DIR)/usr install