X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=cross-compile%2Fmingw%2Fpulseview_linkfix.patch;fp=cross-compile%2Fmingw%2Fpulseview_linkfix.patch;h=e80207e278bb7ee78c02be049dbae6952106d956;hb=22838903fe2a494ef00e67f2428bce0c1ac63cc4;hp=0000000000000000000000000000000000000000;hpb=c09c85b3dc21276af851a5cb78008e717f631dec;p=sigrok-util.git diff --git a/cross-compile/mingw/pulseview_linkfix.patch b/cross-compile/mingw/pulseview_linkfix.patch new file mode 100644 index 0000000..e80207e --- /dev/null +++ b/cross-compile/mingw/pulseview_linkfix.patch @@ -0,0 +1,12 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 443dea6..7b91e0b 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -250,6 +250,7 @@ set(PULSEVIEW_LINK_LIBS + if(STATIC_PKGDEPS_LIBS) + link_directories(${PKGDEPS_STATIC_LIBRARY_DIRS}) + list(APPEND PULSEVIEW_LINK_LIBS ${PKGDEPS_STATIC_LIBRARIES}) ++ list(APPEND PULSEVIEW_LINK_LIBS "-llzma -llcms2") # Quick hack + else() + link_directories(${PKGDEPS_LIBRARY_DIRS}) + list(APPEND PULSEVIEW_LINK_LIBS ${PKGDEPS_LIBRARIES})