[libdvbpsi-devel] Build broken on OpenBSD as of 0.2.1

Rémi Denis-Courmont remi at remlab.net
Fri Nov 4 07:40:46 CET 2011


On Thu, 03 Nov 2011 17:03:13 -0400, Brad <brad at comstyle.com> wrote:
> On 03/11/11 4:24 PM, Rémi Denis-Courmont wrote:
>> Le jeudi 3 novembre 2011 16:24:41 Brad, vous avez écrit :
>>> As of the 0.2.1 release of libdvbpsi the build is now broken on
>>> OpenBSD due to the introduction of the use of the linker flag
>>> --no-undefined. This flag cannot be used when generating shared
>>> libraries on OpenBSD.
>>
>> The correct spelling is '-no-undefined' for libtool. If that fails on
>> OpenBSD;
>> then it's a bug in libtool. If it is not spelt correctly in dvbpsi,
>> then...
> 
> The command line option as it is being used is for the linker not
libtool.

Then _that_ is a bug.

Linker flags should never be hard-coded in the build system since they are
not portable. Only the binary packagers should set them as they see fit.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the libdvbpsi-devel mailing list