aboutsummaryrefslogtreecommitdiffstats
path: root/packages/perl/perl-5.8.7
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2006-10-03 21:04:01 +0000
committerJamie Lenehan <lenehan@twibble.org>2006-10-03 21:04:01 +0000
commit38cfb0452694b87a063322e2fd51df68c246bb4b (patch)
tree4e3fe8d01f7816f6397e8880510d281e20264862 /packages/perl/perl-5.8.7
parentec3923063f9213dc793141bf6dfb6ddcfbfd5652 (diff)
downloadopenembedded-38cfb0452694b87a063322e2fd51df68c246bb4b.tar.gz
perl 5.8.7: Enable threading in perl for sh4 to fix modules that
check for threading availability. Since perl-native is used to compile modules, and perl-native is built with threading enabled, any modules that check for threading think that it's available. However when you attempt to use the module on the target it complains about missing symbols (those related to threading). The two options to fix this are to enable threading in perl or to disable it in perl-native. I've tested the later and will use that since I have some modules that required threading. This change is still needed for all the other targets.
Diffstat (limited to 'packages/perl/perl-5.8.7')
-rw-r--r--packages/perl/perl-5.8.7/config.sh-sh4-linux18
1 files changed, 9 insertions, 9 deletions
diff --git a/packages/perl/perl-5.8.7/config.sh-sh4-linux b/packages/perl/perl-5.8.7/config.sh-sh4-linux
index ddf0ae8fcd..e861b60ef7 100644
--- a/packages/perl/perl-5.8.7/config.sh-sh4-linux
+++ b/packages/perl/perl-5.8.7/config.sh-sh4-linux
@@ -325,9 +325,9 @@ d_pipe='define'
d_poll='define'
d_portable='define'
d_procselfexe='define'
-d_pthread_atfork='undef'
+d_pthread_atfork='define'
d_pthread_attr_setscope='define'
-d_pthread_yield='undef'
+d_pthread_yield='define'
d_pwage='undef'
d_pwchange='undef'
d_pwclass='undef'
@@ -716,12 +716,12 @@ lib_ext='.a'
libc='/lib/libc-2.2.5.so'
libperl='libperl.so'
libpth='/usr/local/lib /lib /usr/lib'
-libs='-lresolv -lnsl -ldl -lm -lcrypt -lutil -lc'
+libs='-lresolv -lnsl -ldl -lm -lpthread -lcrypt -lutil -lc'
libsdirs=' /usr/lib'
-libsfiles=' libresolv.so libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so'
-libsfound=' /usr/lib/libresolv.so /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so'
+libsfiles=' libresolv.so libnsl.so libdl.so libm.so libpthread.so libcrypt.so libutil.so libc.so'
+libsfound=' /usr/lib/libresolv.so /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libpthread.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so'
libspath=' /usr/local/lib /lib /usr/lib'
-libswanted='sfio socket resolv inet nsl nm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD'
+libswanted='sfio socket resolv inet nsl nm gdbm dbm db malloc dl dld ld sun m pthread crypt sec util c cposix posix ucb BSD'
libswanted_uselargefiles=''
line=''
lint=''
@@ -801,7 +801,7 @@ perl5='hostperl'
perl=''
perl_patchlevel=''
perladmin='root@localhost'
-perllibs='-lresolv -lnsl -ldl -lm -lcrypt -lutil -lc'
+perllibs='-lresolv -lnsl -ldl -lm -lpthread -lcrypt -lutil -lc'
perlpath='hostperl'
pg='pg'
phostname=''
@@ -958,7 +958,7 @@ use64bitint='undef'
usecrosscompile='undef'
usedl='define'
usefaststdio='define'
-useithreads='undef'
+useithreads='define'
uselargefiles='define'
uselongdouble='undef'
usemallocwrap='define'
@@ -974,7 +974,7 @@ usesfio='false'
useshrplib='true'
usesitecustomize='undef'
usesocks='undef'
-usethreads='undef'
+usethreads='define'
usevendorprefix='undef'
usevfork='false'
usrinc='/usr/include'