Mailinglist Archive: opensuse-packaging (104 mails)

< Previous Next >
Re: [opensuse-packaging] Pthread error while building weechat package for SLE12-SP2
  • From: "MOHIT B." <emohit.bnsl@xxxxxxxxx>
  • Date: Wed, 22 Aug 2018 19:47:41 +0530
  • Message-id: <CALxVdnjT_SUP=dpDfGCLfGSAb0kYPhG5yRW0oMb9o96+We84iw@mail.gmail.com>
On Tue, Aug 21, 2018 at 9:29 PM, Jan Engelhardt <jengelh@xxxxxxx> wrote:
On Tuesday 2018-08-21 15:28, Cristian Rodríguez wrote:



El 18-08-2018 a las 6:47, MOHIT B. escribió:
[2]:
https://build.opensuse.org/package/view_file/openSUSE:Backports:SLE-15/weechat/weechat.spec?expand=1

change export CFLAGS="%{optflags}" to export CFLAGS="%{optflags} -pthread"
and
it should work.

export LIBS=-lpthread

It didn't work but adding `-pthread` to CFLAGS did



--
Regards,
Mohit Bansal
(philomath)
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >