diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-08-10 19:26:43 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-08-10 19:26:43 +0000 |
commit | be2014384f081ff338df3b5af0f3918fba656f31 (patch) | |
tree | 2f38a3bb533528a657a06e289040b61b738669dd /tools | |
parent | 6e9f5c745e38169d61d1dd22bf61fd175726ade3 (diff) | |
download | upstream-be2014384f081ff338df3b5af0f3918fba656f31.tar.gz upstream-be2014384f081ff338df3b5af0f3918fba656f31.tar.bz2 upstream-be2014384f081ff338df3b5af0f3918fba656f31.zip |
[tools] padjffs2: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33100 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-rw-r--r-- | tools/padjffs2/Makefile | 6 | ||||
-rw-r--r-- | tools/padjffs2/src/Makefile | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/tools/padjffs2/Makefile b/tools/padjffs2/Makefile index a949ac0628..3f033c0c2b 100644 --- a/tools/padjffs2/Makefile +++ b/tools/padjffs2/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2011 OpenWrt.org +# Copyright (C) 2011-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -18,6 +18,10 @@ define Host/Prepare find $(HOST_BUILD_DIR) -name .svn | $(XARGS) rm -rf endef +define Host/Compile + $(MAKE) -C $(HOST_BUILD_DIR) LDFLAGS="-static" +endef + define Host/Configure endef diff --git a/tools/padjffs2/src/Makefile b/tools/padjffs2/src/Makefile index fe1a7aa628..45da8e5dbc 100644 --- a/tools/padjffs2/src/Makefile +++ b/tools/padjffs2/src/Makefile @@ -9,7 +9,7 @@ all: padjffs2 $(CC) $(CFLAGS) $(WFLAGS) -c -o $@ $< padjffs2: $(padjffs2-objs) - $(CC) -o $@ $(padjffs2-objs) + $(CC) $(LDFLAGS) -o $@ $(padjffs2-objs) clean: rm -f padjffs2 *.o |