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 | 5ac14bbd494d52318995503716fde463e557555b (patch) | |
tree | 363f16e9d4e4d1f0ae5451bf224a619afad28b4a /tools/wrt350nv2-builder | |
parent | 54e588c1d4889bcce9ad7aa44d22446a738046b3 (diff) | |
download | mtk-20170518-5ac14bbd494d52318995503716fde463e557555b.zip mtk-20170518-5ac14bbd494d52318995503716fde463e557555b.tar.gz mtk-20170518-5ac14bbd494d52318995503716fde463e557555b.tar.bz2 |
wrt350nv2-builder: link statically
SVN-Revision: 33110
Diffstat (limited to 'tools/wrt350nv2-builder')
-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 ccb66b6..f471df1 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 |