0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-03-02 18:05:57 +00:00
termux-packages/packages/openjdk-17/0005-android-prevent-build-of-libjsound-and-libsa.patch

38 lines
1.2 KiB
Diff

From b71d08af5c67c9bee2bb025f310b1c3fdef9ebc4 Mon Sep 17 00:00:00 2001
From: Henrik Grimler <grimler@termux.dev>
Date: Fri, 3 Feb 2023 11:06:24 +0100
Subject: [PATCH] android: prevent build of libjsound and libsa
---
make/modules/java.desktop/Lib.gmk | 2 --
make/modules/jdk.hotspot.agent/Lib.gmk | 2 --
2 files changed, 4 deletions(-)
diff --git a/make/modules/java.desktop/Lib.gmk b/make/modules/java.desktop/Lib.gmk
index 22b07289adf7..4f1c8c735024 100644
--- a/make/modules/java.desktop/Lib.gmk
+++ b/make/modules/java.desktop/Lib.gmk
@@ -76,8 +76,6 @@ ifeq ($(call isTargetOs, aix), false)
$(BUILD_LIBJSOUND): $(call FindLib, java.base, java)
- TARGETS += $(BUILD_LIBJSOUND)
-
endif
################################################################################
diff --git a/make/modules/jdk.hotspot.agent/Lib.gmk b/make/modules/jdk.hotspot.agent/Lib.gmk
index 59b24d0e4523..7bbd5e73ec2e 100644
--- a/make/modules/jdk.hotspot.agent/Lib.gmk
+++ b/make/modules/jdk.hotspot.agent/Lib.gmk
@@ -74,6 +74,4 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBSA, \
LIBS_windows := dbgeng.lib $(WIN_JAVA_LIB), \
))
-TARGETS += $(BUILD_LIBSA)
-
################################################################################
--
2.44.0