From: IOhannes m zmölnig (Debian/GNU) Date: Wed, 28 Sep 2022 09:35:41 +0000 (+0200) Subject: Explicitly link Projucer/juceaide against zlib X-Git-Tag: archive/raspbian/7.0.2_ds0-2+rpi1^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7b6adc6bb541202012f7f6f71d8e920b4436b071;p=juce.git Explicitly link Projucer/juceaide against zlib --- diff --git a/debian/patches/debian_link_systemlibs.patch b/debian/patches/debian_link_systemlibs.patch index f0cb36b5..13b53a30 100644 --- a/debian/patches/debian_link_systemlibs.patch +++ b/debian/patches/debian_link_systemlibs.patch @@ -1,6 +1,6 @@ From: Debian Multimedia Maintainers 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) { packages.add ("webkit2gtk-4.0"); +--- 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