Explicitly link Projucer/juceaide against zlib
authorIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Wed, 28 Sep 2022 09:35:41 +0000 (11:35 +0200)
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Wed, 28 Sep 2022 09:40:53 +0000 (11:40 +0200)
debian/patches/debian_link_systemlibs.patch

index f0cb36b55614f0ab5be660a944e9267733d2058e..13b53a30e2ae6846c05e168b664bdcd842d5ff08 100644 (file)
@@ -1,6 +1,6 @@
 From: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
 Date: Wed, 23 Oct 2019 09:44:36 +0200
-Subject: have Projucer link against the system libraries
+Subject: have Projucer and juceaide link against the system libraries
 
 Origin: Debian
 Forwarded: no
@@ -9,11 +9,6 @@ Last-Update: 2019-08-21
 since the Debian package has removed 3rd-party libraries (jpeg, png, flag,
 ogg/vorbis), we must use against the system libraries.
 Last-Update: 2019-08-21
----
- .../ProjectSaving/jucer_ProjectExport_Make.h       |  3 ++
- .../Source/ProjectSaving/jucer_ProjectExporter.cpp | 33 ++++++++++++++++++++++
- 2 files changed, 36 insertions(+)
-
 --- juce.orig/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Make.h
 +++ juce/extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Make.h
 @@ -695,6 +695,9 @@
@@ -68,3 +63,23 @@ Last-Update: 2019-08-21
      if (isWebBrowserComponentEnabled (project) && type == PackageDependencyType::compile)\r
      {\r
          packages.add ("webkit2gtk-4.0");\r
+--- juce.orig/extras/Build/juceaide/CMakeLists.txt
++++ juce/extras/Build/juceaide/CMakeLists.txt
+@@ -37,6 +37,7 @@
+         JUCE_USE_CURL=0)
+     target_link_libraries(juceaide PRIVATE
++        z
+         juce::juce_build_tools
+         juce::juce_recommended_config_flags
+         juce::juce_recommended_lto_flags
+--- juce.orig/extras/Projucer/CMakeLists.txt
++++ juce/extras/Projucer/CMakeLists.txt
+@@ -163,6 +163,7 @@
+     ../Build/CMake/juce_runtime_arch_detection.cpp)
+ target_link_libraries(Projucer PRIVATE
++    z
+     ProjucerData
+     juce::juce_build_tools
+     juce::juce_cryptography