Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
if let userLibPaths = getenv("DYLD_LIBRARY_PATH") {
userLibPaths.characters.split{$0 == ":"}.forEach {
let path = String($0)
if path.isDirectory {
args += ["-L\(path)"]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment