Travis testing tcl for MacOSX10.14 and later
Used suggestion from https://www.postgresql-archive.org/PG-vs-macOS-Mojave-td6047357.html#a6056680 to add in sysroot. Note that the examples failed at runtime unless tcl was installed from homebrew: brew install --cask tcl
This commit is contained in:
parent
d344698934
commit
ac8de714af
1 changed files with 3 additions and 1 deletions
|
|
@ -496,7 +496,9 @@ fi
|
|||
dirs="/usr/lib*/ /usr/lib*/tcl*/ /usr/local/lib*/ /usr/local/lib*/tcl*/"
|
||||
case $host in
|
||||
*-*-darwin*)
|
||||
dirs="/System/Library/Frameworks/Tcl.framework/ $dirs"
|
||||
tcl_framework="/System/Library/Frameworks/Tcl.framework/"
|
||||
macos_sysroot="$(xcodebuild -version -sdk macosx Path 2>/dev/null)" # For MacOSX10.14 and later
|
||||
dirs="$macos_sysroot$tcl_framework $tcl_framework $dirs"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue