fix re-installing of nocatsplash (glib stuff again)
authorFelix Fietkau <nbd@openwrt.org>
Mon, 4 Apr 2005 13:36:23 +0000 (13:36 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 4 Apr 2005 13:36:23 +0000 (13:36 +0000)
SVN-Revision: 556

openwrt/package/nocatsplash/Makefile

index af79e673689ed1d050ee5fd5d6f61c8878c10b54..bb9cb4aeef425ce6deb21f4d3724ca3636893ecf 100644 (file)
@@ -56,7 +56,13 @@ $(PKG_BUILD_DIR)/src/splashd: $(PKG_BUILD_DIR)/.configured
 
 $(PKG_IPK): $(PKG_BUILD_DIR)/src/splashd
        $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_IPK_DIR) $(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
-       $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR=$(PKG_IPK_DIR) install
+       $(MAKE) -C $(PKG_BUILD_DIR) \
+               CC=$(TARGET_CC) \
+               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" \
+               DESTDIR=$(PKG_IPK_DIR) install
        $(STRIP) $(PKG_IPK_DIR)/usr/sbin/splashd
        mkdir -p $(PACKAGE_DIR)
        $(IPKG_BUILD) $(PKG_IPK_DIR) $(PACKAGE_DIR)