mirror of
https://github.com/reactos/CMake.git
synced 2025-01-21 02:45:05 +00:00
Merge topic 'modules-no-soname'
21d99aa3 Tests: Use a less strict regular expression to look for "SONAME"
This commit is contained in:
commit
e1c58e0bfa
@ -1,5 +1,5 @@
|
||||
execute_process(COMMAND ${readelf} -d ${lib} OUTPUT_FILE ${lib}.readelf.txt)
|
||||
file(STRINGS ${lib}.readelf.txt soname REGEX "\\(SONAME\\)")
|
||||
file(STRINGS ${lib}.readelf.txt soname REGEX "SONAME")
|
||||
if(soname)
|
||||
message(FATAL_ERROR "${lib} has soname but should not:\n ${soname}")
|
||||
else()
|
||||
|
@ -1,5 +1,5 @@
|
||||
execute_process(COMMAND ${readelf} -d ${lib} OUTPUT_FILE ${lib}.readelf.txt)
|
||||
file(STRINGS ${lib}.readelf.txt soname REGEX "\\(SONAME\\)")
|
||||
file(STRINGS ${lib}.readelf.txt soname REGEX "SONAME")
|
||||
if(soname)
|
||||
message(STATUS "${lib} has soname as expected:\n ${soname}")
|
||||
else()
|
||||
|
@ -1,5 +1,5 @@
|
||||
execute_process(COMMAND ${readelf} -d ${mod} OUTPUT_FILE ${mod}.readelf.txt)
|
||||
file(STRINGS ${mod}.readelf.txt soname REGEX "\\(SONAME\\)")
|
||||
file(STRINGS ${mod}.readelf.txt soname REGEX "SONAME")
|
||||
if(soname)
|
||||
message(FATAL_ERROR "${mod} has soname but should not:\n ${soname}")
|
||||
else()
|
||||
|
Loading…
x
Reference in New Issue
Block a user