Add glib2.0 specific include/pkconfig paths in 'docker'
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Tue, 8 Jul 2008 05:41:44 +0000 (05:41 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Tue, 8 Jul 2008 05:41:44 +0000 (05:41 -0000)
package/docker/docker.mk

index f82a48055968bd29052e9a410f1cabef588582a2..e7b3a75e6ae103e643f758be4dc1d6469b182248 100644 (file)
@@ -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