summaryrefslogtreecommitdiff
path: root/src/task_so.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-01-19 14:22:51 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2023-01-19 14:22:51 +0100
commit3cbadb8f5c55020ece96fab0fc8f4f51da01888e (patch)
tree8c2bf1a8bd5426c6f99cf91d1811a10f3999a477 /src/task_so.cc
parent79c11f3dbaad391633c2678e85eeaba267df5ee1 (diff)
Make extension deduction architecture-aware.
Diffstat (limited to 'src/task_so.cc')
-rw-r--r--src/task_so.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/task_so.cc b/src/task_so.cc
index 9aae7ff..522f6f2 100644
--- a/src/task_so.cc
+++ b/src/task_so.cc
@@ -27,7 +27,7 @@ TaskSO::TaskSO(const ctor::build_configuration& config,
target_type = ctor::target_type::dynamic_library;
_targetFile = base / target;
auto toolchain = getToolChain(config.system);
- _targetFile = extension(toolchain, target_type, _targetFile);
+ _targetFile = extension(toolchain, target_type, config.system, _targetFile);
for(const auto& object : objects)
{
std::filesystem::path objectFile = object;