Package: nvidia-settings-legacy-173xx / 173.14.35-2

09_add_missing_linked_library.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Fix FTBFS with binutils-gold caused by missing libdl link
Author: Fathi Boudra <fabo@debian.org>
Bug-Debian: http://bugs.debian.org/556755

--- a/Makefile
+++ b/Makefile
@@ -150,7 +150,7 @@
 INC_FLAGS := $(addprefix -I , $(RELATIVE_SRCDIRS))
 
 ALL_CFLAGS = $(CFLAGS) $(LOCAL_CFLAGS) $(X11_CFLAGS) $(GTK_CFLAGS) $(INC_FLAGS)
-ALL_LDFLAGS = -Wl,--as-needed $(LD_RUN_FLAG) $(LDFLAGS) $(GTK_LDFLAGS) $(X11_LIBS) -lm
+ALL_LDFLAGS = -Wl,--as-needed $(LD_RUN_FLAG) $(LDFLAGS) $(GTK_LDFLAGS) $(X11_LIBS) -lm -ldl
 
 CPPFLAGS = $(ALL_CFLAGS)