diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-08-10 19:26:58 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-08-10 19:26:58 +0000 |
commit | a1eb741c14cc92ea43325fa7cfdb4b7854db7f1a (patch) | |
tree | 543bf999ef3552ca35263c7bdc946a62ead7e782 | |
parent | 306d5ed4a70e8622bf8453227d99c3c13a0baacf (diff) | |
download | master-187ad058-a1eb741c14cc92ea43325fa7cfdb4b7854db7f1a.tar.gz master-187ad058-a1eb741c14cc92ea43325fa7cfdb4b7854db7f1a.tar.bz2 master-187ad058-a1eb741c14cc92ea43325fa7cfdb4b7854db7f1a.zip |
[tools] wrt350nv2-builder: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33110 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | tools/wrt350nv2-builder/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/wrt350nv2-builder/Makefile b/tools/wrt350nv2-builder/Makefile index ccb66b6307..f471df1c57 100644 --- a/tools/wrt350nv2-builder/Makefile +++ b/tools/wrt350nv2-builder/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2011 OpenWrt.org +# Copyright (C) 2006-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -18,7 +18,8 @@ define Host/Compile $(HOSTCC) $(HOST_CFLAGS) -c src/md5.c -o $(HOST_BUILD_DIR)/md5.o $(HOSTCC) $(HOST_CFLAGS) -c src/ioapi.c -o $(HOST_BUILD_DIR)/ioapi.o $(HOSTCC) $(HOST_CFLAGS) -c src/wrt350nv2-builder.c -o $(HOST_BUILD_DIR)/wrt350nv2-builder.o - $(HOSTCC) $(HOST_CFLAGS) -o $(HOST_BUILD_DIR)/wrt350nv2-builder $(HOST_BUILD_DIR)/wrt350nv2-builder.o $(HOST_BUILD_DIR)/md5.o $(HOST_BUILD_DIR)/ioapi.o + $(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -static -o $(HOST_BUILD_DIR)/wrt350nv2-builder \ + $(HOST_BUILD_DIR)/wrt350nv2-builder.o $(HOST_BUILD_DIR)/md5.o $(HOST_BUILD_DIR)/ioapi.o endef define Host/Install |