mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 12:28:14 +08:00
[vcpkg_configure_make] Fix environment variable _LINK_ (#20652)
This commit is contained in:
parent
aacceff7c5
commit
143cfa363c
@ -783,9 +783,9 @@ function(vcpkg_configure_make)
|
||||
set(ENV{LDFLAGS} "-avoid-version $ENV{LDFLAGS}")
|
||||
endif()
|
||||
|
||||
if(LINK_ENV_${_VAR_SUFFIX})
|
||||
if(LINK_ENV_${_buildtype})
|
||||
set(_LINK_CONFIG_BACKUP "$ENV{_LINK_}")
|
||||
set(ENV{_LINK_} "${LINK_ENV_${_VAR_SUFFIX}}")
|
||||
set(ENV{_LINK_} "${LINK_ENV_${_buildtype}}")
|
||||
endif()
|
||||
set(ENV{PKG_CONFIG} "${PKGCONFIG}")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user