diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-03-29 01:37:10 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:58 +0200 |
commit | f9666347840e519f6248c71688b57227bca4f454 (patch) | |
tree | 91362ea567f8e8817b2d84b4dae6be603d80f703 /src/GlobalLib.cpp | |
parent | c6e8fe8125f8900f3019716aa1cfbf18ff8264bd (diff) |
Add 'lib' config, for including external libraries without pkg-config
Diffstat (limited to 'src/GlobalLib.cpp')
-rw-r--r-- | src/GlobalLib.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/GlobalLib.cpp b/src/GlobalLib.cpp index 1a795bf..586ec2d 100644 --- a/src/GlobalLib.cpp +++ b/src/GlobalLib.cpp @@ -249,6 +249,14 @@ namespace sibs break; } } + + for(const std::string &lib : sibsConfig.getLibs()) + { + string staticLibCmd = "\""; + staticLibCmd += lib; + staticLibCmd += "\""; + staticLinkerFlagCallbackFunc(staticLibCmd); + } if(sibsConfig.shouldUseCmake()) { |