--- libfido2-1.16.0/CMakeLists.txt.orig	2025-05-06 08:40:51.000000000 +0200
+++ libfido2-1.16.0/CMakeLists.txt	2025-07-11 12:14:32.774776300 +0200
@@ -369,8 +369,7 @@
 		string(CONCAT CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS}
 		    " -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/fuzz/export.gnu")
 	else()
-		string(CONCAT CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS}
-		    " -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/src/export.gnu")
+		list(APPEND FIDO_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/src/export.def")
 	endif()
 	if(NOT WIN32)
 		string(CONCAT CMAKE_SHARED_LINKER_FLAGS
