Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 2015 16:01:47 -0700
From:      Yuri <yuri@rawbw.com>
To:        "ports@freebsd.org" <ports@freebsd.org>
Cc:        Bryan Drewery <bdrewery@freebsd.org>
Subject:   Re: Pourdriere produces faulty build results due to bsd.openssl.mk bug
Message-ID:  <5529A7DB.4030807@rawbw.com>
In-Reply-To: <551C5C4C.5090707@rawbw.com>
References:  <551C5C4C.5090707@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The is also this bug in bsd.openssl.mk that lines like this
CFLAGS+=                -Wl,-rpath,${OPENSSLRPATH}
need to have -L${OPENSSLRPATH} before -Wl,-rpath.

This is because pure -Wl,-rpath,${SOMEPATH} w/out preceding 
-L${SOMAPATH} doesn't force-link to that path. -L/usr/local/lib is 
*usually* but *not always* present. I saw the cases when -Wl,-rpath 
fails to link to that path w/out -L before it.

Yuri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5529A7DB.4030807>