Re: Build broken on OpenBSD as of 0.2.1

Rémi Denis-Courmont <[email protected]>
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Organization Remlab.net
Message-ID <[email protected]>
On Thu, 03 Nov 2011 17:03:13 -0400, Brad <[email protected]> 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/
_______________________________________________
libdvbpsi-devel mailing list
[email protected]
http://mailman.videolan.org/listinfo/libdvbpsi-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.