File: link-libgtkdatabox-against-libm.patch

package info (click to toggle)
libgtkdatabox 1%3A1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,916 kB
  • sloc: ansic: 8,609; sh: 4,271; makefile: 187; xml: 69
file content (22 lines) | stat: -rw-r--r-- 471 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Explicitly link libgtkdatabox against libm
 to avoid dpkg-shlibdeps warnings
Forwarded: no
Author: Graham Inggs <ginggs@debian.org>
Last-Update: 2022-01-02

--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -20,9 +20,11 @@
 
 libgtkdatabox_la_LDFLAGS= \
 		        -version-info $(DATABOX_LT_VERSION)\
-			-no-undefined \
-			@GTK_LIBS@
+			-no-undefined
 
+libgtkdatabox_la_LIBADD	= \
+			@GTK_LIBS@\
+			-lm
 
 include_HEADERS		= \
 			gtkdatabox_typedefs.h\