From: <arj...@us...> - 2013-12-09 19:16:14
|
Revision: 12834 http://sourceforge.net/p/plplot/code/12834 Author: arjenmarkus Date: 2013-12-09 19:16:11 +0000 (Mon, 09 Dec 2013) Log Message: ----------- Adjust the package loading script for Cygwin - a specific library name and a different directory. The name (now: cygplplottcltkd-10) should be configured but I could not find the right keyword for it. Modified Paths: -------------- trunk/bindings/tk/pkgIndex.tcl.in Modified: trunk/bindings/tk/pkgIndex.tcl.in =================================================================== --- trunk/bindings/tk/pkgIndex.tcl.in 2013-12-09 16:48:06 UTC (rev 12833) +++ trunk/bindings/tk/pkgIndex.tcl.in 2013-12-09 19:16:11 UTC (rev 12834) @@ -33,9 +33,13 @@ set pllibrary $dir if {$tcl_platform(platform) == "unix"} { - set stem tk + if {[string match "*CYGWIN*" $::tcl_platform(os)]} { + set stem cygplplottcltk@LIB_TAG@-10 + } else { + set stem tk + } set thisDir [pwd] - # Find absolute path of $dir + # Find absolute path of $dir cd $dir set pkgIndexDir [pwd] cd $thisDir @@ -43,7 +47,7 @@ set bLen [string length $buildDir] # If pkgIndexDir is in the build tree... if {![string compare -length $bLen $buildDir $pkgIndexDir]} then { - set searchdirs "../../drivers"} else { + set searchdirs [list "../../drivers" "../../dll"]} else { set searchdirs [list "@DRV_HARDDIR@"]} #puts $searchdirs set suf [info sharedlibextension] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |