• Jiří Techet's avatar
    waf: Don't relink scintilla and geany on every build · df03bcac
    Jiří Techet yazdı
    The ant_glob() function doesn't return a list of strings but rather
    a list of waflib.Node.Nod3 objects. These print as paths so build
    works but apparently confuse waf which thinks the files have
    changed every time the waf command is performed.
    
    Relinking scintilla and geany on every waf invocation is especially
    problemmatic during "sudo waf install" where scintilla and geany
    binaries get owned by the root user. This isn't a big problem on Linux
    but on OS X this prevents subsequent waf calls to update the
    binaries and the build fails.
    
    To fix the issue, just convert the waflib.Node.Nod3 objects
    to relative (string) paths.
    df03bcac
wscript 32.4 KB