File: link-libs.patch

package info (click to toggle)
dbuskit 0.1.1-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,948 kB
  • sloc: objc: 10,544; sh: 9,464; ansic: 200; makefile: 33
file content (29 lines) | stat: -rw-r--r-- 713 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
22
23
24
25
26
27
28
29
Description: Link all needed libraries.
Author: Yavor Doganov <yavor@gnu.org>
Applied-Upstream: 0.2
Forwarded: not-needed
Last-Update: 2017-10-09
---

--- dbuskit.orig/Source/GNUmakefile
+++ dbuskit/Source/GNUmakefile
@@ -52,6 +52,8 @@
 DBusKit_OBJCFLAGS += -Werror
 endif
 
+LIBRARIES_DEPEND_UPON += $(FND_LIBS) $(OBJC_LIBS)
+
 -include ../GNUmakefile.preamble
 include $(GNUSTEP_MAKEFILES)/framework.make
 
--- dbuskit.orig/config.make.in
+++ dbuskit/config.make.in
@@ -3,7 +3,7 @@
 endif
 ADDITIONAL_OBJCFLAGS+=@DBUS_CFLAGS@ @ATOMIC_CFLAGS@
 WARN_FLAGS+=@WARN_FLAGS@
-DBusKit_LDFLAGS+=@DBUS_LIBS@ @MORE_LIBS@
+LIBRARIES_DEPEND_UPON+=@DBUS_LIBS@ @MORE_LIBS@
 
 # Set nonstrict mode for releases:
 nonstrict=yes