Skip to content

Commit 5020256

Browse files
committed
fix QNX
1 parent 0436575 commit 5020256

6 files changed

Lines changed: 23 additions & 2 deletions

File tree

packages/qnx/aarch64/sdp/7.1.0/sdp.BUILD

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ filegroup(
4848
srcs = ["host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-strip"],
4949
)
5050

51+
filegroup(
52+
name = "ld_library_paths",
53+
srcs = [],
54+
)
55+
5156
filegroup(
5257
name = "host_all",
5358
srcs = glob(["host/linux/x86_64/**/*"]),

packages/qnx/aarch64/sdp/8.0.0/sdp.BUILD

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ filegroup(
4848
srcs = ["host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx8.0.0-strip"],
4949
)
5050

51+
filegroup(
52+
name = "ld_library_paths",
53+
srcs = [],
54+
)
55+
5156
filegroup(
5257
name = "host_all",
5358
srcs = glob(["host/linux/x86_64/**/*"]),

packages/qnx/x86_64/sdp/7.1.0/sdp.BUILD

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ filegroup(
4848
srcs = ["host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-strip"],
4949
)
5050

51+
filegroup(
52+
name = "ld_library_paths",
53+
srcs = [],
54+
)
55+
5156
filegroup(
5257
name = "host_all",
5358
srcs = glob(["host/linux/x86_64/**/*"]),

packages/qnx/x86_64/sdp/8.0.0/sdp.BUILD

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ filegroup(
4848
srcs = ["host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx8.0.0-strip"],
4949
)
5050

51+
filegroup(
52+
name = "ld_library_paths",
53+
srcs = [],
54+
)
55+
5156
filegroup(
5257
name = "host_all",
5358
srcs = glob(["host/linux/x86_64/**/*"]),

rules/gcc.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ cc_toolchain_config(
8282
host_dir = "@{tc_pkg_repo}//:host_dir",
8383
target_dir = "@{tc_pkg_repo}//:target_dir",
8484
cxx_builtin_include_directories = "@{tc_pkg_repo}//:cxx_builtin_include_directories",
85-
ld_library_path_dirs = "@{tc_pkg_repo}//:ld_library_path_dirs",
85+
ld_library_path_dirs = "@{tc_pkg_repo}//:ld_library_paths",
8686
target_cpu = "{tc_cpu}",
8787
target_os = "{tc_os}",
8888
visibility = ["//visibility:public"],

templates/qnx/cc_toolchain_config.bzl.template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,5 +482,6 @@ cc_toolchain_config = rule(
482482
"target_cpu": attr.string(mandatory = True),
483483
"target_os": attr.string(mandatory = True),
484484
"cxx_builtin_include_directories": attr.label(allow_files = True, mandatory = True),
485+
"ld_library_path_dirs": attr.label(allow_files = True, default = None),
485486
},
486-
)
487+
)

0 commit comments

Comments
 (0)