]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/graphicsmagick/dynamic_bzip2.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / graphicsmagick / dynamic_bzip2.patch
1 From: Josue Andrade Gomes <josuegomes@gmail.com>
2 Date: Tue, 18 Apr 2017 09:56:53 -0300
3 Subject: [PATCH] dynamic bzip2 only if dynamic gm
4
5 ---
6
7 diff -ur a/magick/nt_base.h b/magick/nt_base.h
8 --- a/magick/nt_base.h Mon May 30 14:19:55 2016
9 +++ b/magick/nt_base.h Mon Apr 17 15:10:01 2017
10 @@ -275,7 +275,9 @@
11 */
12 #if defined(HasBZLIB)
13 # if defined(_WIN32)
14 -# define BZ_IMPORT 1
15 +# if defined(_DLL) // For vcpkg. Building GM DLL requires BZIP2 DLL too, otherwise static
16 +# define BZ_IMPORT 1
17 +# endif
18 # endif
19 #endif /* defined(HasBZLIB) */
20