Changeset 546 for trunk


Ignore:
Timestamp:
Dec 3, 2006, 2:36:06 PM (18 years ago)
Author:
dkearney
Message:

adjusted the lddlflags in makefile so perl knows where to find libperl.dylib, which is needed to build darwin bundles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/perl/Makefile.PL.in

    r516 r546  
    1515    $CC = '@CXX@';
    1616    $LD = '@CXX@';
     17    if ($^O eq 'darwin') {
     18        @LDDLFLAGS = ( q[-bundle],
     19                       q[-bundle_loader /usr/bin/perl],
     20                       q[-L/usr/local/lib],
     21                       q[-L$(PERL_INC) -lperl]
     22                     );
     23    }
    1724    @SCEW_INC_SEARCHPATH = ( "@prefix@/include",
    1825        "/apps/rappture/include", "/opt/rappture/include",
     
    141148find_lib(\@EXPAT_LIB_SEARCHPATH, \@EXPAT_LIBS, \@LIBS);
    142149find_lib(\@RAPPTURE_LIB_SEARCHPATH, \@RAPPTURE_LIBS, \@LIBS);
     150find_lib(\@SCEW_LIB_SEARCHPATH, \@SCEW_LIBS, \@LIBS);
    143151if ($DEBUG) {
    144152    if (!find_lib(\@SCEW_LIB_SEARCHPATH, \@SCEWD_LIBS, \@LIBS)) {
     
    159167    CC                => $CC,
    160168    LD                => $LD,
     169    LDDLFLAGS         => "@LDDLFLAGS",
    161170    XSOPT             => '-C++',
    162171);
Note: See TracChangeset for help on using the changeset viewer.