3.4.0-ldflags.patch 403 B

12345678910111213141516171819202122
  1. Respect LDFLAGS
  2. --- configure.ac
  3. +++ configure.ac
  4. @@ -288,15 +288,13 @@
  5. )
  6. AC_SUBST(LDLIBS)
  7. -LDFLAGS=
  8. LIBDIRS=
  9. AC_ARG_WITH(libdirs,
  10. [ --with-libdirs Specifies library directories (-Ldir1 -Ldir2).],
  11. LIBDIRS=$withval
  12. -LDFLAGS=$withval
  13. AC_MSG_RESULT([Using extra library directories: $withval])
  14. )
  15. -AC_SUBST(LDFLAGS)
  16. +AC_SUBST(LIBDIRS)
  17. AC_CHECK_PROGS(PERL,perl,perl) AC_SUBST(PERL)