[package] pjsip: fix linking failure w/ ARM eabi
authorFlorian Fainelli <florian@openwrt.org>
Thu, 10 Feb 2011 18:03:25 +0000 (18:03 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 10 Feb 2011 18:03:25 +0000 (18:03 +0000)
SVN-Revision: 25450

package/pjsip/Makefile

index f1317fffd1de00e004f8b86498d7a583c4e76a07..a257cefc7f0763d01ba0d7f6a478452f252d9d63 100644 (file)
@@ -79,7 +79,7 @@ endef
 
 define Build/Compile
        CFLAGS="$(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
-       LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \
+       LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS) $(LIBGCC_S)" \
                $(MAKE) -C $(PKG_BUILD_DIR)/$(MAKE_PATH)
 endef