openwrt-packages/libs/libftdi1/patches/100-fix-x86_64-build.patch

12 lines
321 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -43,7 +43,7 @@ IF(CMAKE_SIZEOF_VOID_P EQUAL 4)
AND NOT EXISTS "/etc/debian_version"
AND NOT EXISTS "/etc/arch-release" )
if ( "${CMAKE_SIZEOF_VOID_P}" EQUAL "8" )
- set ( LIB_SUFFIX 64 )
+ set ( LIB_SUFFIX "" )
endif ()
endif ()
endif ()