mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[bazel] Avoid globally linking macOS SDK frameworks (#7927)
This commit is contained in:
@@ -40,6 +40,13 @@ objc_library(
|
||||
"src/main/native/include",
|
||||
"src/main/native/objcpp",
|
||||
],
|
||||
sdk_frameworks = [
|
||||
"CoreFoundation",
|
||||
"AVFoundation",
|
||||
"Foundation",
|
||||
"CoreMedia",
|
||||
"CoreVideo",
|
||||
],
|
||||
tags = ["manual"],
|
||||
deps = [
|
||||
"//wpinet:wpinet.static",
|
||||
|
||||
@@ -26,17 +26,6 @@ build:macos --conlyopt=-Wno-missing-field-initializers
|
||||
build:macos --conlyopt=-Wno-unused-private-field
|
||||
build:macos --conlyopt=-Wno-fixed-enum-extension"
|
||||
|
||||
|
||||
build:macos --linkopt=-framework
|
||||
build:macos --linkopt=CoreFoundation
|
||||
build:macos --linkopt=-framework
|
||||
build:macos --linkopt=AVFoundation
|
||||
build:macos --linkopt=-framework
|
||||
build:macos --linkopt=Foundation
|
||||
build:macos --linkopt=-framework
|
||||
build:macos --linkopt=CoreMedia
|
||||
build:macos --linkopt=-framework
|
||||
build:macos --linkopt=CoreVideo
|
||||
build:macos --linkopt=-headerpad_max_install_names
|
||||
build:macos --linkopt=-Wl,-rpath,'@loader_path'"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user