aports/community/libmysofa/install-header.patch
Lauri Tirkkonen cd6306b8e4 community/libmysofa: move from testing
new dependency for community/easyeffects at 8.0 and above.
2026-05-04 05:12:35 +00:00

26 lines
877 B
Diff

Patch-Source: https://github.com/hoene/libmysofa/commit/1b7d3bb0c5d13a6d2db0b439231ce65f4ad4cca0.patch
--
From 1b7d3bb0c5d13a6d2db0b439231ce65f4ad4cca0 Mon Sep 17 00:00:00 2001
From: "Jason E. Hale" <jhale@FreeBSD.org>
Date: Tue, 17 Oct 2023 15:10:23 -0400
Subject: [PATCH] Install header when only building shared library
Fixes #210
---
src/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index dcaa92a..0de9632 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -127,6 +127,8 @@ if(BUILD_SHARED_LIBS)
# with the mysofa-static library.
set_target_properties(mysofa-shared
PROPERTIES ARCHIVE_OUTPUT_NAME mysofa_shared)
+ set_target_properties(mysofa-shared
+ PROPERTIES PUBLIC_HEADER "${public-headers}")
set_property(
TARGET mysofa-shared