summaryrefslogtreecommitdiffstats
path: root/package/pjsip/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/pjsip/Makefile')
-rw-r--r--package/pjsip/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pjsip/Makefile b/package/pjsip/Makefile
index 20fb6fab7..d21efc02f 100644
--- a/package/pjsip/Makefile
+++ b/package/pjsip/Makefile
@@ -87,7 +87,7 @@ endef
define Build/Compile
CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS) $(LIBGCC_S) -lm" \
+ LDFLAGS="$(TARGET_LDFLAGS) -lc $(LIBGCC_S) -lm" \
$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/$(MAKE_PATH)
endef