Skip to content

Commit

Permalink
Correctly fix gettext-libintl
Browse files Browse the repository at this point in the history
  • Loading branch information
Neumann-A committed Apr 30, 2024
1 parent 79ed742 commit e5f3f2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x64-win-llvm/port_specialization.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ if(PORT MATCHES "^(arrow|akali|arb|cello|chakracore|flint|folly|glog|zydis|graph
set(ENV{PATH} "${LLVM_PATH_BACKUP}")
endif()

if(PORT MATCHES "^gettext(-libintl)?$" AND "tools" IN_LIST FEATURES) # uses /EXTRACT unsupported by llvm-lib
if(PORT MATCHES "^gettext$" AND "tools" IN_LIST FEATURES
OR PORT MATCHES "^gettext-libintl$") # uses /EXTRACT unsupported by llvm-lib
list(APPEND VCPKG_CMAKE_CONFIGURE_OPTIONS "-DCMAKE_AR=llvm-ar.exe")
set(ENV{AR} "llvm-ar.exe")
endif()
Expand Down

0 comments on commit e5f3f2d

Please sign in to comment.