padjffs2: link statically
SVN-Revision: 33100
This commit is contained in:
parent
5dfdbd0066
commit
9903c3ead8
2 changed files with 6 additions and 2 deletions
|
@ -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.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
|
@ -18,6 +18,10 @@ define Host/Prepare
|
||||||
find $(HOST_BUILD_DIR) -name .svn | $(XARGS) rm -rf
|
find $(HOST_BUILD_DIR) -name .svn | $(XARGS) rm -rf
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Host/Compile
|
||||||
|
$(MAKE) -C $(HOST_BUILD_DIR) LDFLAGS="-static"
|
||||||
|
endef
|
||||||
|
|
||||||
define Host/Configure
|
define Host/Configure
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ all: padjffs2
|
||||||
$(CC) $(CFLAGS) $(WFLAGS) -c -o $@ $<
|
$(CC) $(CFLAGS) $(WFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
padjffs2: $(padjffs2-objs)
|
padjffs2: $(padjffs2-objs)
|
||||||
$(CC) -o $@ $(padjffs2-objs)
|
$(CC) $(LDFLAGS) -o $@ $(padjffs2-objs)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f padjffs2 *.o
|
rm -f padjffs2 *.o
|
||||||
|
|
Loading…
Reference in a new issue