mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-01 05:27:52 +08:00
[openssl-unix] Update header path for shared library compilation
This commit is contained in:
parent
0cbfd1df17
commit
819ed9af67
@ -76,7 +76,7 @@ file(WRITE "${BUILDDIR}/Configure" "${_contents}")
|
|||||||
|
|
||||||
if(BUILD_SHARED_LIBS)
|
if(BUILD_SHARED_LIBS)
|
||||||
set(SHARED shared)
|
set(SHARED shared)
|
||||||
file(STRINGS "${BUILDDIR}/crypto/opensslv.h" SHLIB_VERSION
|
file(STRINGS "${BUILDDIR}/include/openssl/opensslv.h" SHLIB_VERSION
|
||||||
REGEX "^#[\t ]*define[\t ]+SHLIB_VERSION_NUMBER[\t ]+\".*\".*")
|
REGEX "^#[\t ]*define[\t ]+SHLIB_VERSION_NUMBER[\t ]+\".*\".*")
|
||||||
string(REGEX REPLACE "^.*SHLIB_VERSION_NUMBER[\t ]+\"([^\"]*)\".*$" "\\1"
|
string(REGEX REPLACE "^.*SHLIB_VERSION_NUMBER[\t ]+\"([^\"]*)\".*$" "\\1"
|
||||||
SHLIB_VERSION "${SHLIB_VERSION}")
|
SHLIB_VERSION "${SHLIB_VERSION}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user