[DO-971] ffmpeg recipe with requirements (!9)
Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Reviewed-on: https://git.avroid.tech/Conan/conan_build/pulls/9
This commit is contained in:
15
recipes/libwebp/all/patches/1.1.0-0001-fix-dll-export.patch
Normal file
15
recipes/libwebp/all/patches/1.1.0-0001-fix-dll-export.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
diff --git a/src/webp/types.h b/src/webp/types.h
|
||||
index 0ce2622..69f7e89 100644
|
||||
--- a/src/webp/types.h
|
||||
+++ b/src/webp/types.h
|
||||
@@ -39,7 +39,9 @@ typedef long long int int64_t;
|
||||
#ifndef WEBP_EXTERN
|
||||
// This explicitly marks library functions and allows for changing the
|
||||
// signature for e.g., Windows DLL builds.
|
||||
-# if defined(__GNUC__) && __GNUC__ >= 4
|
||||
+# if defined(_MSC_VER) && defined(WEBP_DLL)
|
||||
+# define WEBP_EXTERN __declspec(dllexport)
|
||||
+# elif defined(__GNUC__) && __GNUC__ >= 4
|
||||
# define WEBP_EXTERN extern __attribute__ ((visibility ("default")))
|
||||
# else
|
||||
# define WEBP_EXTERN extern
|
||||
Reference in New Issue
Block a user