From 65ced012b258c087fa90446ac654f58e6ff67404 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Sun, 3 Oct 2021 03:37:49 +0300 Subject: [PATCH] Fix mis-copypaste Fixes: 6dab1797207 ("Update to 11.0.12.0.7") --- java-11-openjdk.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/java-11-openjdk.spec b/java-11-openjdk.spec index afe4a52..828b073 100644 --- a/java-11-openjdk.spec +++ b/java-11-openjdk.spec @@ -200,6 +200,16 @@ %global staticlibs_loop %{nil} %endif +%if %{include_staticlibs} +# Extra target for producing the static-libraries. Separate from +# other targets since this target is configured to use in-tree +# AWT dependencies: lcms, libjpeg, libpng, libharfbuzz, giflib +# and possibly others +%global static_libs_target static-libs-image +%else +%global static_libs_target %{nil} +%endif + # http://openjdk.java.net/groups/build/doc/building.html # unlike portables,the rpms have to use static_libs_target very dynamically #if %{without bootstrap}