mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-04-13 14:11:04 +00:00
build: Support non-standard ldso in executables
This commit is contained in:
parent
4af20384c2
commit
e53974afee
1 changed files with 5 additions and 0 deletions
|
@ -108,6 +108,11 @@ config("executable_config") {
|
||||||
"-Wl,--disable-new-dtags",
|
"-Wl,--disable-new-dtags",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Needed for non-standard ldso on OpenWRT
|
||||||
|
if (current_toolchain == default_toolchain && ldso_path != "") {
|
||||||
|
ldflags += [ "-Wl,--dynamic-linker=${ldso_path}" ]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Settings for shared libraries.
|
# Settings for shared libraries.
|
||||||
|
|
Loading…
Add table
Reference in a new issue