wduquette / tcl-quill

Build tool for Tcl/Tk projects
BSD 2-Clause "Simplified" License
10 stars 2 forks source link

Use relative paths with tclapp #22

Closed wduquette closed 9 years ago

wduquette commented 9 years ago

'quill build' uses tclapp to build starkits and starpacks. It references the app loader script and all libraries using absolute paths. On Windows, recently, I observed that this creates an odd VFS structure in the generated starkit/starpack, and sometimes prevents the application from finding its libraries. When 'quill' builds on OS X, at least, there is no problem; it might be a Windows-specific issue. However, running tclapp in the project root directory and referencing the loader and library files using relative paths seems to eliminate the problem.