aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-04-04 13:36:23 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-04-04 13:36:23 +0000
commitaf7c94872c49e72683ad743879fc503f5b0609ac (patch)
tree1c687e290e1f4ea3cfee654cbe6ac3326da6ed53
parente216be104db41d3d38ad581e88d1483d9b4b1636 (diff)
downloadupstream-af7c94872c49e72683ad743879fc503f5b0609ac.tar.gz
upstream-af7c94872c49e72683ad743879fc503f5b0609ac.tar.bz2
upstream-af7c94872c49e72683ad743879fc503f5b0609ac.zip
fix re-installing of nocatsplash (glib stuff again)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@556 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/nocatsplash/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/nocatsplash/Makefile b/package/nocatsplash/Makefile
index af79e67368..bb9cb4aeef 100644
--- a/package/nocatsplash/Makefile
+++ b/package/nocatsplash/Makefile
@@ -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)