pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/47587: lua not linked to pthread causes issues with modules



OBATA Akio <obache%NetBSD.org@localhost> wrote ..
>  
>  Just try to add only "PTHREAD_AUTO_VARS=yes".
>  pkgsrc/mk/dlopen.{buildlink3,builtin}.mk should
>  take care such issues automatically for required platforms.
>  
>  -- 
>  OBATA Akio / obache%NetBSD.org@localhost
>  

Yes, adding only "PTHREAD_AUTO_VARS=yes" to the Makefile works perfectly. lua 
is linked with -lpthread.1 => /usr/lib/libpthread.so.1 and the module functions 
properly. If it potentially causes other problems to leave that in the 
Makefile, perhaps it should be an option in /etc/mk.conf ?

Thank you.

-- 
Waitman Gobble
San Jose California USA


Home | Main Index | Thread Index | Old Index