mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
autoconf: Don't AC_SUBST() LD in configure
The only use of $(LD) in Makefiles is for AIX, to generate the export file for the backend. We only support the system linker on AIX and we already hardcode the path to a number of other binaries. Removing LD substitution will simplify the upcoming meson PGXS compatibility. While at it, add a comment why -r is used. A subsequent commit will remove the determination of LD from configure as well. Discussion: https://postgr.es/m/20221005200710.luvw5evhwf6clig6@awork3.anarazel.de
This commit is contained in:
@ -1132,7 +1132,6 @@ AC_ARG_VAR(LDFLAGS_EX, [extra linker flags for linking executables only])
|
||||
AC_ARG_VAR(LDFLAGS_SL, [extra linker flags for linking shared libraries only])
|
||||
|
||||
PGAC_PROG_LD
|
||||
AC_SUBST(LD)
|
||||
AC_SUBST(with_gnu_ld)
|
||||
PGAC_CHECK_STRIP
|
||||
AC_CHECK_TOOL(AR, ar, ar)
|
||||
|
Reference in New Issue
Block a user