Re: If you wanted to distribute a dll

new topic     » goto parent     » topic index » view thread      » older message » newer message
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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu