Changeset 4419


Ignore:
Timestamp:
Jan 2, 2004, 10:57:49 AM (17 years ago)
Author:
jkh
Message:

Only look for dylibs on darwin systems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/darwinports1.0/darwinports.tcl

    r4300 r4419  
    340340
    341341proc _libtest {dport} {
    342     global env
     342    global env tcl_platform
    343343    set depspec [ditem_key $dport depspec]
    344344        set depregex [lindex [split $depspec :] 1]
     
    361361        }
    362362        regsub {\.} $depregex {\.} depregex
    363         set depregex \^${depregex}\\.dylib\$
     363        if {$tcl_platform(os) == "Darwin"} {
     364                set depregex \^${depregex}\\.dylib\$
     365        } else {
     366                set depregex \^${depregex}\\.so\$
     367        }
     368
    364369       
    365370        return [_dportsearchpath $depregex $search_path]
Note: See TracChangeset for help on using the changeset viewer.