[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 f1317ff..a257cef 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