File: 04-avoid_linking.patch

package info (click to toggle)
fil-plugins 0.3.0-6.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 196 kB
  • sloc: cpp: 561; makefile: 48
file content (17 lines) | stat: -rw-r--r-- 569 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Jaromír Mikeš <mira.mikes@seznam.cz>
Description: Avoid useless linking.
Forwarded: no

Index: fil-plugins/Makefile
===================================================================
--- fil-plugins.orig/Makefile
+++ fil-plugins/Makefile
@@ -23,7 +23,7 @@ all:	filters.so
 
 
 filters.so:	filters.o filters_if.o exp2ap.o
-	g++ $(LDFLAGS) -shared filters.o filters_if.o exp2ap.o -o filters.so
+	g++ $(LDFLAGS) -shared filters.o filters_if.o exp2ap.o -o filters.so -Wl,--as-needed
 
 filters.o:	ladspaplugin.h filters.h
 filters_if.o:	ladspaplugin.h filters.h