lftp: link libc for atexit() - fixes compilation against most recent uClibc
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 22 Feb 2011 14:50:48 +0000 (14:50 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 22 Feb 2011 14:50:48 +0000 (14:50 +0000)
SVN-Revision: 25662

net/lftp/Makefile

index 23e9ca8d487838f84df57034f5fcaf03046a8327..c4c104be4b1e299ab904256efb01d984efe5b9a8 100644 (file)
@@ -48,7 +48,7 @@ CONFIGURE_VARS += \
        CXXFLAGS="$$$$CXXFLAGS -fno-builtin -I$(STAGING_DIR)/usr/include/uClibc++ -nostdinc++" \
        CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
        LDFLAGS="$$$$LDFLAGS" \
-       LIBS="-nodefaultlibs -lz -lutil -luClibc++ -lcurses $(LIBGCC_S) -ldl" \
+       LIBS="-nodefaultlibs -lz -lutil -lc -luClibc++ -lcurses $(LIBGCC_S) -ldl" \
        i_cv_posix_fallocate_works=no
 
 MAKE_VARS += \