500-cross.patch 420 B

1234567891011
  1. --- a/aclocal.m4
  2. +++ b/aclocal.m4
  3. @@ -4298,7 +4298,7 @@ CF_EOF
  4. EXTRA_LDFLAGS="-Wl,-rpath,\${libdir} $EXTRA_LDFLAGS"
  5. fi
  6. CF_SHARED_SONAME
  7. - MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_cv_shared_soname',-stats,-lc -o $[@]'
  8. + MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_shared_soname',-stats,$(LDFLAGS) -lc -o $[@]'
  9. ;;
  10. openbsd[[2-9]].*)
  11. if test "$DFT_LWR_MODEL" = "shared" ; then