pki-core/0001-Add-dependencies-in-Java11-specific-libraries.patch
Troy Dawson a800dadd0f RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/pki-core#8b79c54b742c4a25d28eb51f9909c72ef40ad600
2020-10-14 16:04:28 -07:00

41 lines
1.3 KiB
Diff

From f35d270b5551ae35e699163d78d451e5b7c247da Mon Sep 17 00:00:00 2001
From: Alexander Scheel <ascheel@redhat.com>
Date: Mon, 14 Sep 2020 16:51:08 -0400
Subject: [PATCH 1/3] Add dependencies in Java11-specific libraries
This ensures lib/ gets created prior to any Java11-specific symlinks.
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
---
base/common/CMakeLists.txt | 1 +
base/server/CMakeLists.txt | 1 +
2 files changed, 2 insertions(+)
diff --git a/base/common/CMakeLists.txt b/base/common/CMakeLists.txt
index c58393e01..26431bac0 100644
--- a/base/common/CMakeLists.txt
+++ b/base/common/CMakeLists.txt
@@ -48,6 +48,7 @@ add_custom_command(
if(JAVA_VERSION GREATER 10)
add_custom_target(pki-java11plus-lib ALL
+ DEPENDS pki-lib
COMMENT "Creating links for library required in Java 11+")
add_custom_command(
diff --git a/base/server/CMakeLists.txt b/base/server/CMakeLists.txt
index 599642277..62a5b68bd 100644
--- a/base/server/CMakeLists.txt
+++ b/base/server/CMakeLists.txt
@@ -118,6 +118,7 @@ add_custom_command(
if(JAVA_VERSION GREATER 10)
add_custom_target(pki-server-java11plus-lib ALL
+ DEPENDS pki-server-common-lib
COMMENT "Creating links for server library required in Java 11+")
add_custom_command(
--
2.26.2