Add headerpad_max_install_names to Mac builds (#2333)

This allows dylib paths to be rewritten to a larger size by downstream tools.
This commit is contained in:
Dustin Spicuzza
2020-02-11 00:52:58 -05:00
committed by GitHub
parent 5b3facc63b
commit 7275ab9837

View File

@@ -21,6 +21,10 @@ nativeUtils.wpi.addWarningsAsErrors()
nativeUtils.setSinglePrintPerPlatform()
nativeUtils.platformConfigs.named("osxx86-64").configure {
it.linker.args << "-headerpad_max_install_names"
}
model {
components {
all {