Package: gworkspace / 0.9.4-1

link-libs.patch Patch series | 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Description: Link all needed libraries, fixes FTBFS with ld --no-undefined.
Author: Yavor Doganov <yavor@gnu.org>
Forwarded: https://savannah.gnu.org/bugs/?52518
Last-Update: 2017-12-22
---

--- gworkspace.orig/FSNode/GNUmakefile.in
+++ gworkspace/FSNode/GNUmakefile.in
@@ -53,6 +53,8 @@
 
 
 
+LIBRARIES_DEPEND_UPON = $(GUI_LIBS) $(FND_LIBS) $(OBJC_LIBS) -lm
+
 ifeq ($(findstring darwin, $(GNUSTEP_TARGET_OS)), darwin)
   ifeq ($(OBJC_RUNTIME_LIB), gnu)
     SHARED_LD_POSTFLAGS += -lgnustep-base -lgnustep-gui
--- gworkspace.orig/DBKit/GNUmakefile.in
+++ gworkspace/DBKit/GNUmakefile.in
@@ -23,6 +23,8 @@
 libDBKit_HEADER_FILES_DIR = .
 libDBKit_HEADER_FILES_INSTALL_DIR=DBKit
 
+LIBRARIES_DEPEND_UPON = $(FND_LIBS) $(OBJC_LIBS)
+
 ifeq ($(findstring darwin, $(GNUSTEP_TARGET_OS)), darwin)
   ifeq ($(OBJC_RUNTIME_LIB), gnu)
     SHARED_LD_POSTFLAGS += -lgnustep-base
--- gworkspace.orig/Inspector/GNUmakefile.in
+++ gworkspace/Inspector/GNUmakefile.in
@@ -13,6 +13,8 @@
 Inspector_PRINCIPAL_CLASS = Inspector
 Inspector_HAS_RESOURCE_BUNDLE = yes
 
+LIBRARIES_DEPEND_UPON = -lFSNode $(GUI_LIBS) $(FND_LIBS) $(OBJC_LIBS)
+
 ifneq ($(PDFKIT),no)
   Inspector_GUI_LIBS += -lPDFKit
   ADDITIONAL_LDFLAGS = -lPDFKit
--- gworkspace.orig/Operation/GNUmakefile.in
+++ gworkspace/Operation/GNUmakefile.in
@@ -8,6 +8,8 @@
 Operation_PRINCIPAL_CLASS = Operation
 Operation_HAS_RESOURCE_BUNDLE = yes
 
+LIBRARIES_DEPEND_UPON = $(GUI_LIBS) $(FND_LIBS) $(OBJC_LIBS)
+
 Operation_RESOURCE_FILES = \
     Resources/Images/* \
     Resources/English.lproj 
--- gworkspace.orig/GWMetadata/MDKit/GNUmakefile.in
+++ gworkspace/GWMetadata/MDKit/GNUmakefile.in
@@ -16,7 +16,7 @@
 #MDKit_GUI_LIBS += -lFSNode
 LIBRARIES_DEPEND_UPON += -lFSNode
 LIBRARIES_DEPEND_UPON += -lDBKit
-LIBRARIES_DEPEND_UPON += -lgnustep-gui $(SYSTEM_LIBS)
+LIBRARIES_DEPEND_UPON += -lgnustep-gui $(FND_LIBS) $(OBJC_LIBS) $(SYSTEM_LIBS)
 
 MDKit_RESOURCE_FILES = \
     Resources/attributes.plist \