diff options
author | ImperatorStorm | 2022-01-12 23:23:40 -0800 |
---|---|---|
committer | ImperatorStorm | 2022-01-12 23:23:40 -0800 |
commit | f1f431dac8fc2db27165cb96082e3da08a6f6a7b (patch) | |
tree | 42c415c78e2023aa5685b2f950915b80b34b701a /shared-libwebp.patch | |
parent | e61b3c9b5be04d6ad64aa750f460f1d0517a1ec5 (diff) | |
download | aur-f1f431dac8fc2db27165cb96082e3da08a6f6a7b.tar.gz |
Fix up shared-libwebp.patch.
Diffstat (limited to 'shared-libwebp.patch')
-rw-r--r-- | shared-libwebp.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared-libwebp.patch b/shared-libwebp.patch index 65de0c692995..071327db84b1 100644 --- a/shared-libwebp.patch +++ b/shared-libwebp.patch @@ -25,7 +25,7 @@ index f16f09660d..40065905d3 100644 @@ -229,9 +230,17 @@ add_definitions(-DPNG_NO_MMX_CODE) # Do not use MMX optimizations in PNG code # libwebp - if(WITH_WEBP_SUPPORT) + if(ENABLE_WEBP) - set(WEBP_LIBRARIES webp webpdemux libwebpmux) - set(WEBP_INCLUDE_DIR ${LIBWEBP_DIR}/src) - include_directories(${WEBP_INCLUDE_DIR}) @@ -51,8 +51,8 @@ index 4839d4097c..e8c3e83cbc 100644 add_subdirectory(giflib) endif() --if(WITH_WEBP_SUPPORT) -+if(WITH_WEBP_SUPPORT AND NOT USE_SHARED_WEBP) +-if(ENABLE_WEBP) ++if(ENABLE_WEBP AND NOT USE_SHARED_WEBP) set(WEBP_BUILD_EXTRAS OFF CACHE BOOL "Build extras.") add_subdirectory(libwebp) endif() |