Browse Source

perl: improved to build a shared libperl if possible

stable/0.2
Christian Wiese 14 years ago
parent
commit
ca6281e250
  1. 7
      perl/perl/perl.conf

7
perl/perl/perl.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../perl/perl.conf
# Copyright (C) 2009 - 2010 The OpenSDE Project
# Copyright (C) 2009 - 2011 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf
#
@ -68,6 +68,11 @@ confopt="-des -Dcc=$cc -Darchname=$arch_target -Dprefix=/$prefix \
-Dsiteprefix=/$SDECFG_PKG_PERL5_SITE_PREFIX \
-Dvendorprefix=/$SDECFG_PKG_PERL5_VENDOR_PREFIX"
# build a shared libperl
if [ "$SDECFG_STATIC" != 1 ]; then
var_append confopt ' ' "-Duseshrplib"
fi
[ "$SDECFG_PKG_PERL5_THREADS" = "1" ] && confopt="$confopt -Dusethreads"
hook_add preconf 2 "( rm -f config.sh Policy.sh; eval sh Configure \$confopt; )"

Loading…
Cancel
Save