Details
Description
Currently Gcc.concatLibs appends libraries in reverse order.
ERROR: /usr/bin/clang++ -m64 -O2 -Wall -Wextra /home/a-baskanov/src/dep2/qtc_Desktop-release/.obj/main/main.cpp.o -o /home/a-baskanov/src/dep2/qtc_Desktop-release/main -Wl,-rpath,$ORIGIN /home/a-baskanov/src/dep2/qtc_Desktop-release/libe.a /home/a-baskanov/src/dep2/qtc_Desktop-release/libd.a /home/a-baskanov/src/dep2/qtc_Desktop-release/liba.a /home/a-baskanov/src/dep2/qtc_Desktop-release/libb.a /home/a-baskanov/src/dep2/qtc_Desktop-release/libc.a -Wl,--unresolved-symbols=ignore-in-shared-libs /home/a-baskanov/src/dep2/qtc_Desktop-release/libb.a(b.cpp.o): In function `b()': /home/a-baskanov/src/dep2/b.cpp:(.text+0x1): undefined reference to `a1()' /home/a-baskanov/src/dep2/qtc_Desktop-release/libc.a(c.cpp.o): In function `c()': /home/a-baskanov/src/dep2/c.cpp:(.text+0x1): undefined reference to `a2()' clang: error: linker command failed with exit code 1 (use -v to see invocation)