Fix subversion compilation on arm where relinking sometimes does weird things
authorFlorian Fainelli <florian@openwrt.org>
Sun, 28 Sep 2008 11:50:55 +0000 (11:50 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 28 Sep 2008 11:50:55 +0000 (11:50 +0000)
SVN-Revision: 12761

net/subversion/Makefile

index 84c6b4e..ada30be 100644 (file)
@@ -86,8 +86,9 @@ CONFIGURE_ARGS += \
 
 CONFIGURE_VARS += \
        svn_lib_neon=yes \
-       LDFLAGS="-lcrypt -lnsl -lm -lintl -L$(STAGING_DIR)/usr/lib/libintl/lib/ \
-               -lz -L$(STAGING_DIR)/usr/lib/ -lpthread -L$(STAGING_DIR)/lib" \
+       LDFLAGS="-lcrypt -lm -lintl -L$(STAGING_DIR)/usr/lib/libintl/lib/ \
+               -lz -L$(STAGING_DIR)/usr/lib/ -lpthread -L$(STAGING_DIR)/lib \
+               -L$(TOOLCHAIN_DIR)/lib" \
        CPPFLAGS="-I$(STAGING_DIR)/usr/include/ -I$(STAGING_DIR)/usr/lib/libintl/include \
                -I$(STAGING_DIR)/include/" \