hurd: Fix runtime path test

This commit is contained in:
Samuel Thibault
2024-12-09 10:25:20 +01:00
parent 0c452257e7
commit 8d2f6f0971

View File

@@ -45,7 +45,7 @@ block()
run_cmake(Stub)
set(RunCMake_TEST_NO_CLEAN 1)
run_cmake_command(Stub-build ${CMAKE_COMMAND} --build . --config Debug)
if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|SunOS)$|BSD")
if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|SunOS|GNU)$|BSD")
set(ldpath LD_LIBRARY_PATH)
elseif(CMAKE_SYSTEM_NAME MATCHES "^(Darwin)$")
set(ldpath DYLD_LIBRARY_PATH)