Re: If you wanted to distribute a dll
- Posted by xecronix Sep 14, 2015
- 1482 views
ghaberek said...
xecronix said...
public function include_derived_ext_paths(sequence libdir, sequence lib) -- *snip* --
This does not currently work on Windows. The join_path() function adds a leading backslash to the path if the first element is not a root directory (i.e. C:\).
*snip*
I suggest adding an ifdef WINDOWS block to handle this accordingly for now.
ifdef WINDOWS then if current[1] = '\\' then -- trim leading backslash character current = current[2..$] end if end ifdef
-Greg
Good idea. I pushed the change.