summaryrefslogtreecommitdiff
path: root/package/docker/docker.mk
diff options
context:
space:
mode:
authorJohn Voltz <john.voltz@gmail.com>2008-05-02 11:20:00 +0000
committerJohn Voltz <john.voltz@gmail.com>2008-05-02 11:20:00 +0000
commit1a596bfe2f3c2b4e081ffb365a5ef8a93ef4e841 (patch)
treea3bf56f67ed78f922f65be90089feb405f358933 /package/docker/docker.mk
parentbce15df3bea6d1ab4a88db9d31fc2dd30418decc (diff)
pkgconfig fix for docker
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