From c64769bd8f7077e066515c1332622ec634f99d52 Mon Sep 17 00:00:00 2001 From: Marcel Denia Date: Thu, 31 Jul 2014 14:19:48 +0200 Subject: [PATCH] perl: Build shared libperl Signed-off-by: Marcel Denia --- lang/perl/files/config.sh-arm.in | 6 +++--- lang/perl/files/config.sh-armeb.in | 6 +++--- lang/perl/files/config.sh-avr32.in | 6 +++--- lang/perl/files/config.sh-i486.in | 6 +++--- lang/perl/files/config.sh-mips.in | 6 +++--- lang/perl/files/config.sh-mipsel.in | 6 +++--- lang/perl/files/config.sh-powerpc.in | 6 +++--- lang/perl/files/config.sh-x86_64.in | 6 +++--- 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/lang/perl/files/config.sh-arm.in b/lang/perl/files/config.sh-arm.in index 7d6d0cd255..a23a6fdc6d 100644 --- a/lang/perl/files/config.sh-arm.in +++ b/lang/perl/files/config.sh-arm.in @@ -53,7 +53,6 @@ castflags='0' cat='cat' cc='%%CC%%' cccdlflags='-fPIC' -ccdlflags='-Wl,-E' ccflags='%%CFLAGS%%' ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccname='gcc' @@ -739,7 +738,7 @@ ldlibpthname='LD_LIBRARY_PATH' less='less' lib_ext='.a' libc='' -libperl='libperl.a' +libperl='libperl.so' libpth='%%LIBDIRS%%' libs='-lgdbm -ldb -lnsl -ldl -lm -lcrypt -lutil -lc' libsdirs='%%LIBDIRS%%' @@ -1002,7 +1001,7 @@ useposix='true' usereentrant='undef' userelocatableinc='undef' usesfio='false' -useshrplib='false' +useshrplib='true' usesitecustomize='undef' usesocks='undef' usethreads='undef' @@ -1156,6 +1155,7 @@ version_patchlevel_string='version 20 subversion 0' PERL_VERSION=20 PERL_API_VERSION=20 patchlevel='20' +ccdlflags='-fPIC -Wl,-rpath,/usr/lib/perl5/5.20/CORE' # Make perl use these tools instead of the target binaries during build. hostgenerate='%%HOSTGENERATE%%' diff --git a/lang/perl/files/config.sh-armeb.in b/lang/perl/files/config.sh-armeb.in index e180a5cca4..aee8b2af63 100644 --- a/lang/perl/files/config.sh-armeb.in +++ b/lang/perl/files/config.sh-armeb.in @@ -53,7 +53,6 @@ castflags='0' cat='cat' cc='%%CC%%' cccdlflags='-fPIC' -ccdlflags='-Wl,-E' ccflags='%%CFLAGS%%' ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccname='gcc' @@ -739,7 +738,7 @@ ldlibpthname='LD_LIBRARY_PATH' less='less' lib_ext='.a' libc='' -libperl='libperl.a' +libperl='libperl.so' libpth='%%LIBDIRS%%' libs='-lgdbm -ldb -lnsl -ldl -lm -lcrypt -lutil -lc' libsdirs='%%LIBDIRS%%' @@ -1002,7 +1001,7 @@ useposix='true' usereentrant='undef' userelocatableinc='undef' usesfio='false' -useshrplib='false' +useshrplib='true' usesitecustomize='undef' usesocks='undef' usethreads='undef' @@ -1156,6 +1155,7 @@ version_patchlevel_string='version 20 subversion 0' PERL_VERSION=20 PERL_API_VERSION=20 patchlevel='20' +ccdlflags='-fPIC -Wl,-rpath,/usr/lib/perl5/5.20/CORE' # Make perl use these tools instead of the target binaries during build. hostgenerate='%%HOSTGENERATE%%' diff --git a/lang/perl/files/config.sh-avr32.in b/lang/perl/files/config.sh-avr32.in index eb272e8e8a..64542e8afd 100644 --- a/lang/perl/files/config.sh-avr32.in +++ b/lang/perl/files/config.sh-avr32.in @@ -53,7 +53,6 @@ castflags='0' cat='cat' cc='%%CC%%' cccdlflags='-fPIC' -ccdlflags='-Wl,-E' ccflags='%%CFLAGS%%' ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccname='gcc' @@ -741,7 +740,7 @@ ldlibpthname='LD_LIBRARY_PATH' less='less' lib_ext='.a' libc='' -libperl='libperl.a' +libperl='libperl.so' libpth='%%LIBDIRS%%' libs='-lgdbm -ldb -lnsl -ldl -lm -lcrypt -lutil -lc' libsdirs='%%LIBDIRS%%' @@ -1004,7 +1003,7 @@ useposix='true' usereentrant='undef' userelocatableinc='undef' usesfio='false' -useshrplib='false' +useshrplib='true' usesitecustomize='undef' usesocks='undef' usethreads='undef' @@ -1158,6 +1157,7 @@ version_patchlevel_string='version 20 subversion 0' PERL_VERSION=20 PERL_API_VERSION=20 patchlevel='20' +ccdlflags='-fPIC -Wl,-rpath,/usr/lib/perl5/5.20/CORE' # Make perl use these tools instead of the target binaries during build. hostgenerate='%%HOSTGENERATE%%' diff --git a/lang/perl/files/config.sh-i486.in b/lang/perl/files/config.sh-i486.in index 799e711bdf..f915fd84c0 100644 --- a/lang/perl/files/config.sh-i486.in +++ b/lang/perl/files/config.sh-i486.in @@ -51,7 +51,6 @@ castflags='0' cat='cat' cc='%%CC%%' cccdlflags='-fPIC' -ccdlflags='-Wl,-E' ccflags='%%CFLAGS%%' ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccname='gcc' @@ -732,7 +731,7 @@ ldlibpthname='LD_LIBRARY_PATH' less='less' lib_ext='.a' libc='' -libperl='libperl.a' +libperl='libperl.so' libpth='%%LIBDIRS%%' libs='-lgdbm -ldb -lnsl -ldl -lm -lcrypt -lutil -lc' libsdirs='%%LIBDIRS%%' @@ -991,7 +990,7 @@ useposix='true' usereentrant='undef' userelocatableinc='undef' usesfio='false' -useshrplib='false' +useshrplib='true' usesitecustomize='undef' usesocks='undef' usethreads='undef' @@ -1141,6 +1140,7 @@ version_patchlevel_string='version 20 subversion 0' PERL_VERSION=20 PERL_API_VERSION=20 patchlevel='20' +ccdlflags='-fPIC -Wl,-rpath,/usr/lib/perl5/5.20/CORE' # Make perl use these tools instead of the target binaries during build. hostgenerate='%%HOSTGENERATE%%' diff --git a/lang/perl/files/config.sh-mips.in b/lang/perl/files/config.sh-mips.in index bb6d2fc9c3..b0eb0fe06b 100644 --- a/lang/perl/files/config.sh-mips.in +++ b/lang/perl/files/config.sh-mips.in @@ -53,7 +53,6 @@ castflags='0' cat='cat' cc='%%CC%%' cccdlflags='-fPIC' -ccdlflags='-Wl,-E' ccflags='%%CFLAGS%%' ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccname='gcc' @@ -739,7 +738,7 @@ ldlibpthname='LD_LIBRARY_PATH' less='less' lib_ext='.a' libc='' -libperl='libperl.a' +libperl='libperl.so' libpth='%%LIBDIRS%%' libs='-lgdbm -ldb -lnsl -ldl -lm -lcrypt -lutil -lc' libsdirs='%%LIBDIRS%%' @@ -1002,7 +1001,7 @@ useposix='true' usereentrant='undef' userelocatableinc='undef' usesfio='false' -useshrplib='false' +useshrplib='true' usesitecustomize='undef' usesocks='undef' usethreads='undef' @@ -1156,6 +1155,7 @@ version_patchlevel_string='version 20 subversion 0' PERL_VERSION=20 PERL_API_VERSION=20 patchlevel='20' +ccdlflags='-fPIC -Wl,-rpath,/usr/lib/perl5/5.20/CORE' # Make perl use these tools instead of the target binaries during build. hostgenerate='%%HOSTGENERATE%%' diff --git a/lang/perl/files/config.sh-mipsel.in b/lang/perl/files/config.sh-mipsel.in index d3ebbe28bc..557d9a1999 100644 --- a/lang/perl/files/config.sh-mipsel.in +++ b/lang/perl/files/config.sh-mipsel.in @@ -51,7 +51,6 @@ castflags='0' cat='cat' cc='%%CC%%' cccdlflags='-fPIC' -ccdlflags='-Wl,-E' ccflags='%%CFLAGS%%' ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccname='gcc' @@ -732,7 +731,7 @@ ldlibpthname='LD_LIBRARY_PATH' less='less' lib_ext='.a' libc='' -libperl='libperl.a' +libperl='libperl.so' libpth='%%LIBDIRS%%' libs='-lgdbm -ldb -lnsl -ldl -lm -lcrypt -lutil -lc' libsdirs='%%LIBDIRS%%' @@ -991,7 +990,7 @@ useposix='true' usereentrant='undef' userelocatableinc='undef' usesfio='false' -useshrplib='false' +useshrplib='true' usesitecustomize='undef' usesocks='undef' usethreads='undef' @@ -1141,6 +1140,7 @@ version_patchlevel_string='version 20 subversion 0' PERL_VERSION=20 PERL_API_VERSION=20 patchlevel='20' +ccdlflags='-fPIC -Wl,-rpath,/usr/lib/perl5/5.20/CORE' # Make perl use these tools instead of the target binaries during build. hostgenerate='%%HOSTGENERATE%%' diff --git a/lang/perl/files/config.sh-powerpc.in b/lang/perl/files/config.sh-powerpc.in index 855b81263d..39b595516a 100644 --- a/lang/perl/files/config.sh-powerpc.in +++ b/lang/perl/files/config.sh-powerpc.in @@ -53,7 +53,6 @@ castflags='0' cat='cat' cc='%%CC%%' cccdlflags='-fPIC' -ccdlflags='-Wl,-E' ccflags='%%CFLAGS%%' ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccname='gcc' @@ -739,7 +738,7 @@ ldlibpthname='LD_LIBRARY_PATH' less='less' lib_ext='.a' libc='' -libperl='libperl.a' +libperl='libperl.so' libpth='%%LIBDIRS%%' libs='-lgdbm -ldb -lnsl -ldl -lm -lcrypt -lutil -lc' libsdirs='%%LIBDIRS%%' @@ -1002,7 +1001,7 @@ useposix='true' usereentrant='undef' userelocatableinc='undef' usesfio='false' -useshrplib='false' +useshrplib='true' usesitecustomize='undef' usesocks='undef' usethreads='undef' @@ -1156,6 +1155,7 @@ version_patchlevel_string='version 20 subversion 0' PERL_VERSION=20 PERL_API_VERSION=20 patchlevel='20' +ccdlflags='-fPIC -Wl,-rpath,/usr/lib/perl5/5.20/CORE' # Make perl use these tools instead of the target binaries during build. hostgenerate='%%HOSTGENERATE%%' diff --git a/lang/perl/files/config.sh-x86_64.in b/lang/perl/files/config.sh-x86_64.in index 203edf8456..6ec080f586 100644 --- a/lang/perl/files/config.sh-x86_64.in +++ b/lang/perl/files/config.sh-x86_64.in @@ -51,7 +51,6 @@ castflags='0' cat='cat' cc='%%CC%%' cccdlflags='-fPIC' -ccdlflags='-Wl,-E' ccflags='%%CFLAGS%%' ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccname='gcc' @@ -732,7 +731,7 @@ ldlibpthname='LD_LIBRARY_PATH' less='less' lib_ext='.a' libc='' -libperl='libperl.a' +libperl='libperl.so' libpth='%%LIBDIRS%%' libs='-lgdbm -ldb -lnsl -ldl -lm -lcrypt -lutil -lc' libsdirs='%%LIBDIRS%%' @@ -991,7 +990,7 @@ useposix='true' usereentrant='undef' userelocatableinc='undef' usesfio='false' -useshrplib='false' +useshrplib='true' usesitecustomize='undef' usesocks='undef' usethreads='undef' @@ -1141,6 +1140,7 @@ version_patchlevel_string='version 20 subversion 0' PERL_VERSION=20 PERL_API_VERSION=20 patchlevel='20' +ccdlflags='-fPIC -Wl,-rpath,/usr/lib/perl5/5.20/CORE' # Make perl use these tools instead of the target binaries during build. hostgenerate='%%HOSTGENERATE%%' -- 2.30.2