File: extra-libraries.patch

package info (click to toggle)
giada 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,420 kB
  • sloc: cpp: 29,924; sh: 101; makefile: 55; xml: 40; ansic: 1
file content (21 lines) | stat: -rw-r--r-- 766 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Allow injection of additional libraries to link against
 DEB_LDFLAGS_MAINT_APPEND is included *before* the actual  link targets,
 so we cannot use it for injecting libraries
Author: IOhannes m zmölnig
Origin: Debian
Forwarded: not-needed
Last-Update: 2025-08-25
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- giada.orig/CMakeLists.txt
+++ giada/CMakeLists.txt
@@ -796,6 +796,9 @@
 
 endif()
 
+set(EXTRA_LIBRARIES "" CACHE STRING "Additional libraries to link against")
+list(APPEND LIBRARIES ${EXTRA_LIBRARIES})
+
 # ------------------------------------------------------------------------------
 # Finalize 'giada' target (main executable).
 # ------------------------------------------------------------------------------