Differences From Artifact [f02d7d0bb6]:
- File build-aux/m4/buildsys.m4 — part of check-in [2a5ae2a51b] at 2021-09-02 17:04:29 on branch trunk — Add option to disable rpath (user: js, size: 14344) [annotate] [blame] [check-ins using]
To Artifact [3c7fd1fbe8]:
- File
build-aux/m4/buildsys.m4
— part of check-in
[dffa232bd2]
at
2021-09-04 10:24:14
on branch trunk
— Don't use rpath on Windows
Windows does not support rpath, and while GNU ld just ignores it, lld
fails with the flag. (user: js, size: 14255) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
205 206 207 208 209 210 211 | *-*-mingw* | *-*-cygwin*) AC_MSG_RESULT(MinGW / Cygwin) LIB_CFLAGS='' LIB_LDFLAGS='-shared -Wl,--export-all-symbols,--out-implib,lib$${out%${LIB_SUFFIX}}.a' LIB_LDFLAGS_INSTALL_NAME='' LIB_PREFIX='' LIB_SUFFIX='${LIB_MAJOR}.dll' | < < < | 205 206 207 208 209 210 211 212 213 214 215 216 217 218 | *-*-mingw* | *-*-cygwin*) AC_MSG_RESULT(MinGW / Cygwin) LIB_CFLAGS='' LIB_LDFLAGS='-shared -Wl,--export-all-symbols,--out-implib,lib$${out%${LIB_SUFFIX}}.a' LIB_LDFLAGS_INSTALL_NAME='' LIB_PREFIX='' LIB_SUFFIX='${LIB_MAJOR}.dll' PLUGIN_CFLAGS='' PLUGIN_LDFLAGS='-shared' PLUGIN_SUFFIX='.dll' LINK_PLUGIN='${LD} -o $$out ${PLUGIN_OBJS} ${PLUGIN_OBJS_EXTRA} ${PLUGIN_LDFLAGS} ${LDFLAGS} ${LIBS}' INSTALL_LIB='&& ${MKDIR_P} ${DESTDIR}${bindir} && ${INSTALL} -m 755 $$i ${DESTDIR}${bindir}/$$i && ${INSTALL} -m 755 lib$${i%${LIB_SUFFIX}}.a ${DESTDIR}${libdir}/lib$${i%${LIB_SUFFIX}}.a' UNINSTALL_LIB='&& rm -f ${DESTDIR}${bindir}/$$i ${DESTDIR}${libdir}/lib$$i.a' INSTALL_PLUGIN='&& ${INSTALL} -m 755 $$i ${DESTDIR}${plugindir}/$$i' |
︙ | ︙ |