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

12 lines
432 B
Diff
Raw Normal View History

--- a/aclocal.m4
+++ b/aclocal.m4
@@ -5137,7 +5137,7 @@ CF_EOF
EXTRA_LDFLAGS="${cf_ld_rpath_opt}\${libdir} $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 $[@]'
;;
openbsd[[2-9]].*) #(vi
if test "$DFT_LWR_MODEL" = "shared" ; then