# TclTk build commands. export CFLAGS="-arch x86_64 -mmacosx-version-min=10.9" make -C tcl/macosx embedded make -C tk/macosx embedded # Change the default absolute library path used by the Tcl shell to find the Tcl # framework. Make the path a relative path that will find our LWDAQ Tcl library. install_name_tool -change \ /Library/Frameworks/Tcl.framework/Versions/8.6/Tcl \ @executable_path/../Frameworks/Tcl.framework/Versions/8.6/Tcl \ tclsh # Check that the change took place. otool -L tclsh # Check architecture of the executables. lipo -info Wish lipo -info tclsh