On Sat, Oct 22, 2011 at 9:19 AM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
On 22/10/11 01:47, Roman Evstifeev wrote:
This results in an additional -lX11 flag added to final link command. So thee questions are: 1) i wonder why this is needed in spec-file to build with OBS (while not needed using "make" locally),
because you are probably building locally running older openSUSE versions. The linker now defaults to --no-add-needed in factory, here is an explanation why: https://fedoraproject.org/wiki/UnderstandingDSOLinkChange (essentially now sanity prevails :) )
Thanks, that helped. So the correct way to solve this is to write patch for package, and applying it in .spec-file?
2) Is it sane to resolve the problem this way? (i.e. with ./configure LIBS="-lX11")
Hrmmm. not really, however it may be an acceptable hack to move forward ;)
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org