diff --git a/pkgs/development/libraries/qt-6/modules/qtbase/dont-treat-abspaths-without-suffix-as-libraries.patch b/pkgs/development/libraries/qt-6/modules/qtbase/dont-treat-abspaths-without-suffix-as-libraries.patch index b9ee097808787d..b8927159e70db1 100644 --- a/pkgs/development/libraries/qt-6/modules/qtbase/dont-treat-abspaths-without-suffix-as-libraries.patch +++ b/pkgs/development/libraries/qt-6/modules/qtbase/dont-treat-abspaths-without-suffix-as-libraries.patch @@ -1,5 +1,5 @@ diff --git a/cmake/QtGenerateLibHelpers.cmake b/cmake/QtGenerateLibHelpers.cmake -index 96675267d2..c9d4a69497 100644 +index c9d4a69497..dc1a290cfc 100644 --- a/cmake/QtGenerateLibHelpers.cmake +++ b/cmake/QtGenerateLibHelpers.cmake @@ -10,7 +10,7 @@ function(qt_get_library_name_without_prefix_and_suffix out_var file_path) @@ -7,8 +7,7 @@ index 96675267d2..c9d4a69497 100644 get_filename_component(basename "${file_path}" NAME_WE) get_filename_component(ext "${file_path}" EXT) - if(NOT ext) # seems like a library name without prefix and suffix -+ if(NOT ext AND NOT IS_ABSOLUTE "${file_path}") - # seems like a library name without prefix and suffix ++ if(NOT ext AND NOT IS_ABSOLUTE "${file_path}") # seems like a library name without prefix and suffix set(${out_var} "${file_path}" PARENT_SCOPE) return() endif()