Skip to content

Commit b9f049c

Browse files
authored
fix: enable dynamic linking for qnx (#35)
Add supports_dynamic_linker feature to QNX toolchain configuration to enable dynamic linking support. Co-authored-by: Joachim Schneider <JoSch1Etas@users.noreply.github.com>
1 parent e093af5 commit b9f049c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

templates/qnx/cc_toolchain_config.bzl.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ def _impl(ctx):
8585
dbg_feature = feature(name = "dbg")
8686
opt_feature = feature(name = "opt")
8787

88+
supports_dynamic_linker_feature = feature(name = "supports_dynamic_linker", enabled = True)
89+
8890
assemble_action = action_config(
8991
action_name = ACTION_NAMES.assemble,
9092
tools = [tool(tool = ctx.executable.cc_binary)],
@@ -442,6 +444,7 @@ def _impl(ctx):
442444
opt_feature,
443445
use_license_env_info_feautre,
444446
sdp_env_feature,
447+
supports_dynamic_linker_feature,
445448
supports_pic_feature,
446449
runtime_library_search_directories_feature,
447450
]

0 commit comments

Comments
 (0)