Skip to content

Commit 7da1729

Browse files
authored
Fix improper compiler flag separation on QNX (#25)
This lead to compiler error "unknown option: -rpath" because the flags were split up.
1 parent a574e17 commit 7da1729

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

templates/qnx/cc_toolchain_config.bzl.template

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -412,11 +412,7 @@ def _impl(ctx):
412412
iterate_over = "runtime_library_search_directories",
413413
flag_groups = [
414414
flag_group(
415-
flags = [
416-
"-Wl",
417-
"-rpath",
418-
"$EXEC_ORIGIN/%{runtime_library_search_directories}",
419-
],
415+
flags = ["-Wl,-rpath,$EXEC_ORIGIN/%{runtime_library_search_directories}"],
420416
),
421417
],
422418
expand_if_available = "runtime_library_search_directories",

0 commit comments

Comments
 (0)