[MacPorts] #60798: legacy-support needs to use -Wl, when adding library name to LDFLAGS
MacPorts
noreply at macports.org
Sun Oct 18 19:43:46 UTC 2020
#60798: legacy-support needs to use -Wl, when adding library name to LDFLAGS
------------------------------------------+----------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords: haspatch
Port: gwenhywfar5, legacy-support |
------------------------------------------+----------------------
Comment (by ryandesign):
Replying to [comment:7 kencu]:
> I believe this is the proper fix.
>
> poppler should not be deleting {{{-L${prefix}/lib}}} from the link line.
Well hopefully the folks who added that can provide some clarity on why
they did it and can find an alternate solution.
> It should be forcing DYLD_LIBRARY_PATH to the in-tree build instead.
`DYLD_LIBRARY_PATH` isn't related. The usual reason why one removes
MacPorts `-L` or `-I` flags is if the build system puts them in the wrong
place on the compile line (before the project's own `-L` or `-I` flags
instead of after them where they belong).
--
Ticket URL: <https://trac.macports.org/ticket/60798#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list