Skip to content

Commit

Permalink
Try to fix macOS build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Vertexwahn committed Jan 11, 2025
1 parent 3936222 commit 7ae5c9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qt_mac_aarch64.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ load("@rules_qt//:qt_libraries.bzl", "QT_LIBRARIES")
additional_linker_inputs = [":lib"],
linkopts = ["-F $(location :lib)"] + [
"-framework %s" % library_name.replace("6", ""), # macOS qt libs do not contain a 6 - e.g. instead of Qt6Core the lib is called QtCore
"-rpath $(location :lib)",
"-rpath $(rootpath :lib)",
],
include_prefix = "%s" % include_folder,
strip_include_prefix = "lib/%s.framework/Headers" % include_folder,
Expand Down
2 changes: 1 addition & 1 deletion tests/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build --incompatible_disallow_empty_glob=false
build --noincompatible_disallow_empty_glob

# Setup compiler flags - required for Qt6 is at least C++17
build:gcc9 --cxxopt=-std=c++2a
Expand Down

0 comments on commit 7ae5c9a

Please sign in to comment.