Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2017 01:56:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 221808] archivers/lua51-zlib: port passes $LDFLAGS to direct linker invocation, not compiler driver
Message-ID:  <bug-221808-13-FgtaIGyFHY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221808-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221808-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221808

--- Comment #4 from Ed Maste <emaste@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 =3D -O2 -shared $(LUALIBDIR) -L/usr/lib

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221808-13-FgtaIGyFHY>