https://bugzilla.redhat.com/show_bug.cgi?id=1481324



--- Comment #1 from Tomasz Kłoczko <kloczko.tom...@gmail.com> ---
Just found another thing.

$ perl -e 'use Config qw(myconfig config_sh config_vars config_re); print
config_vars(libs, perllibs);"\n";'
libs='-lpthread -lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
-lgdbm_compat';
perllibs='-lpthread -lresolv -lnsl -ldl -lm -lcrypt -lutil -lc';

Looks like libnsl can be removed from above list because on Linux this library
contains NIS/YP ABI functions (not like on Solaris for example gethostbyname())

Theoretically list of those libraries offered in perllibs should be empty
because only if exact compiled module will be using some routines from those
libraries ABI it should take care of detecting it and include in module lining
options.
This theoretically may break some perl modules build but defilitelly -lc and
-lnsl can be removed without impact.

if you agree with above please hold commiting this patch and I'll try prepare
second part to at least remove libnsl from libs and perllibs Config variables.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to