[Mageia-dev] need some help to build a linuxsampler.rpm

Pierre-Malo Deniélou pierre-malo.denielou at rhul.ac.uk
Sat Sep 22 14:43:24 CEST 2012


Le 22/09/12 01:45,PhilippeDidier nous adresse ces quelques mots :
>> You need to add -lpthread to the linker options...
>>
>> -- 
>> Thomas
>>
>>
>>
> Thanks Thomas ...
> 
> 
> I use a very simple spec file in which these parts were working for
> Mandriva :
> 
> 
> %prep
> %setup -q -n %name-%version
> 
> %build
> %configure2_5x
> %make
> 
> %install
> make DESTDIR=%buildroot  install
> 
> 
> I don't know where to add this option
> 
> I thought it was done by %configure (I can see the option -pthread in
> the CXXFLAGS of the different makefiles)
> 
> I tried to add
> CXXFLAGS="-lpthread" in the spec but it didn't change anything ...

the linker flags use the LDFLAGS variable.

-- 
Malo


More information about the Mageia-dev mailing list