openwrtv3/package/libs/ncurses/patches/500-cross.patch

12 lines
405 B
Diff
Raw Normal View History

--- a/aclocal.m4
+++ b/aclocal.m4
@@ -5720,7 +5720,7 @@ CF_EOF
EXTRA_LDFLAGS="${cf_ld_rpath_opt}\${RPATH_LIST} $EXTRA_LDFLAGS"
fi
CF_SHARED_SONAME
- MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_cv_shared_soname',-stats,-lc -o $[@]'
+ MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_shared_soname',-stats,$(LDFLAGS) -lc -o $[@]'
;;
(mingw*)
cf_cv_shlib_version=mingw