Fixes #1568 - Prefer loading zlib and szip libraries dynamically by martin-g · Pull Request #1632 · su2code/SU2
Fixes the following error on Ubuntu 20.04: /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libz.a(deflate.o): relocation R_X86_64_PC32 against symbol `z_errmsg' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status [814/816] Compiling C++ object UnitTests/test_driver.p/test_driver.cpp.o ninja: build stopped: subcommand failed.