tree-wide: Do not use package librt and libpthread
[openwrt/staging/jow.git] / package / utils / lua / Makefile
index 9d7cc406712539133df8663541dc8853e5506fa9..e4d2fd1c500069a16d1ce19babf40dee37450e93 100644 (file)
@@ -99,7 +99,7 @@ define Build/Compile
                RANLIB="$(TARGET_CROSS)ranlib" \
                INSTALL_ROOT=/usr \
                CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \
-               MYLDFLAGS="$(TARGET_LDFLAGS) $(if $(CONFIG_USE_GLIBC),-lm -ldl)" \
+               MYLDFLAGS="$(TARGET_LDFLAGS)" \
                PKG_VERSION=$(PKG_VERSION) \
                linux
        rm -rf $(PKG_INSTALL_DIR)