[Bug 221808] archivers/lua51-zlib: port passes $LDFLAGS to direct linker invocation, not compiler driver

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 21 01:56:09 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221808

--- Comment #4 from Ed Maste <emaste at freebsd.org> ---
It looks like the attached patch was included in the update in r452729

The port still fails to build when ld is lld, with:

ld: error: unable to find library -lz
ld: error: unable to find library -lm

because lld does not include a compiled-in search path. I managed to build the
port by changing the Makefile to specify

BSD_LDFLAGS = -O2 -shared $(LUALIBDIR) -L/usr/lib

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list