diff --git a/modules/codelite/codelite_project.lua b/modules/codelite/codelite_project.lua
index 11f35965..c2f5f7dc 100755
--- a/modules/codelite/codelite_project.lua
+++ b/modules/codelite/codelite_project.lua
@@ -224,6 +224,9 @@
_x(3, '', table.concat(flags, ";"))
+ for _, libdir in ipairs(cfg.libdirs) do
+ _p(4, '', project.getrelative(cfg.project, libdir))
+ end
_p(3, '')
end
diff --git a/modules/codelite/tests/test_codelite_config.lua b/modules/codelite/tests/test_codelite_config.lua
index 3e0454db..93346113 100644
--- a/modules/codelite/tests/test_codelite_config.lua
+++ b/modules/codelite/tests/test_codelite_config.lua
@@ -93,6 +93,8 @@
codelite.project.linker(cfg)
test.capture [[
+
+
]]
end