diff options
author | Gunther Nikl <gnikl@users.sourceforge.net> | 2023-01-31 18:19:46 +0100 |
---|---|---|
committer | Cosmin Truta <ctruta@gmail.com> | 2023-01-31 22:25:23 +0200 |
commit | aeb26da4cb64c0e75c8dbc9d59402820e2470667 (patch) | |
tree | c78d3f0c8f438afd6d74626676daad4128cfc260 /test-driver | |
parent | cd0ea2a7f53b603d3d9b5b891c779c430047b39a (diff) | |
download | libpng-aeb26da4cb64c0e75c8dbc9d59402820e2470667.tar.gz |
cmake: Use CMAKE_SHARED_LIBRARY_C_FLAGS in version script checks
Building the version script test executable may fail in the link step
with GNU ld as linker like this:
ld: final link failed: Nonrepresentable section on output
Building the test excutable with CMAKE_SHARED_LIBRARY_C_FLAGS makes the
test succeed with GNU ld since this adds -fpic/-fPIC.
Signed-off-by: Cosmin Truta <ctruta@gmail.com>
Diffstat (limited to 'test-driver')
0 files changed, 0 insertions, 0 deletions