Skip to content
Snippets Groups Projects
Commit 9903c3ea authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

padjffs2: link statically

SVN-Revision: 33100
parent 5dfdbd00
No related branches found
No related tags found
No related merge requests found
#
# 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
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment