Changeset c3d197b in clfs-sysroot for BOOK/final-system/arm


Ignore:
Timestamp:
Jan 31, 2009, 7:22:04 AM (16 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
af447da
Parents:
853465d
Message:

Add sed command to make perl use system-installed zlib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/arm/perl.xml

    r853465d rc3d197b  
    4343sed -e "s@pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \
    4444    -e "s@static_target='static'@static_target='static_pic'@g" Makefile.SH.orig &gt; Makefile.SH</userinput></screen>
     45
     46    <para os="s3">By default, Perl's Compress::Raw::Zlib module builds and
     47    links against its own internal copy of Zlib. The following command will
     48    tell it use the system-installed Zlib:</para>
     49
     50<screen os="s4"><userinput>cp -v ext/Compress/Raw/Zlib/config.in{,.orig}
     51sed -e '/^BUILD_ZLIB/ s/True/False/' \
     52        -e '/^INCLUDE\|^LIB/ s|\./zlib-src|/usr/include|' \
     53        ext/Compress/Raw/Zlib/config.in.orig &gt; \
     54        ext/Compress/Raw/Zlib/config.in</userinput></screen>
    4555
    4656    <para os="a">The Cross directory contains a Makefile for cross-compiling:</para>
Note: See TracChangeset for help on using the changeset viewer.