From 298a1bafcd3631f9e4eef4d7148087f154deb3db Mon Sep 17 00:00:00 2001 From: ellson Date: Mon, 3 Jul 2006 14:14:58 +0000 Subject: [PATCH] Darwin fix --- tclpkg/mkpkgindex.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tclpkg/mkpkgindex.sh b/tclpkg/mkpkgindex.sh index 098b89982..fa3ac1b56 100755 --- a/tclpkg/mkpkgindex.sh +++ b/tclpkg/mkpkgindex.sh @@ -9,9 +9,10 @@ if [ -z "$lib" ] then libBaseName=`basename $1 .la` case `uname` in - CYGWIN*) lib="${libBaseName}.dll" ;; - HP-UX*) lib="${libBaseName}.sl" ;; - *) lib="${libBaseName}.so" ;; + CYGWIN*) lib="${libBaseName}.dll" ;; + Darwin*) lib="${libBaseName}.dylib" ;; + HP-UX*) lib="${libBaseName}.sl" ;; + *) lib="${libBaseName}.so" ;; esac fi -- 2.40.0