summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/docker/docker.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/docker/docker.mk b/package/docker/docker.mk
index f82a48055..e7b3a75e6 100644
--- a/package/docker/docker.mk
+++ b/package/docker/docker.mk
@@ -11,10 +11,13 @@ DOCKER_INSTALL_STAGING = NO
DOCKER_INSTALL_TARGET = YES
DOCKER_MAKE_OPT = CC=$(TARGET_CC) CXX=$(TARGET_CXX) LD=$(TARGET_LD) \
- CFLAGS="-I$(STAGING_DIR)/usr/include" \
+ CFLAGS="-I$(STAGING_DIR)/usr/include \
+ -I$(STAGING_DIR)/usr/include/glib-2.0 \
+ -I$(STAGING_DIR)/usr/lib/glib-2.0/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
PKGCONFIG="$(STAGING_DIR)/usr/bin/pkg-config" \
- PKG_CONFIG_SYSROOT="$(STAGING_DIR)"
+ PKG_CONFIG_SYSROOT="$(STAGING_DIR)" \
+ PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig"
DOCKER_INSTALL_TARGET_OPT = PREFIX=$(TARGET_DIR)/usr install