fix include path for glib in nocatsplash

SVN-Revision: 555
owl
Felix Fietkau 2005-04-04 13:14:29 +00:00
parent b1b01bcc6c
commit 5135ae2b75
1 changed files with 4 additions and 1 deletions

View File

@ -44,10 +44,13 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.unpacked
);
touch $(PKG_BUILD_DIR)/.configured
GLIB_CFLAGS :=-I$(STAGING_DIR)/usr/include/glib-1.2 -I$(STAGING_DIR)/usr/lib/glib/include
$(PKG_BUILD_DIR)/src/splashd: $(PKG_BUILD_DIR)/.configured
$(MAKE) -C $(PKG_BUILD_DIR) \
CC=$(TARGET_CC) \
GLIB_CFLAGS="-I$(STAGING_DIR)/usr/include/glib-1.2 -I$(STAGING_DIR)/usr/lib/glib/include" \
GLIB_CFLAGS="$(GLIB_CFLAGS)" \
AM_CFLAGS="$(TARGET_CFLAGS) $(GLIB_CFLAGS)" \
GLIB_LIBS="-L$(STAGING_DIR)/usr/lib -lglib" \
LIBS="-L$(STAGING_DIR)/usr/lib -lglib"