File: avoid_unresolved_symbols.diff

package info (click to toggle)
gnustep-dl2 0.12.0-16
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,076 kB
  • sloc: objc: 61,761; makefile: 33
file content (98 lines) | stat: -rw-r--r-- 3,547 bytes parent folder | download | duplicates (4)
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Description:  (tiny change)
#
#	Avoid undefined symbols.
#	* EOControl/GNUmakefile (EOControl_LIBRARIES_DEPEND_UPON):
#	* EOAccess/GNUmakefile (EOAccess_LIBRARIES_DEPEND_UPON):
#	* EOInterface/GNUmakefile (EOInterface_LIBRARIES_DEPEND_UPON):
#	* EOModeler/GNUmakefile (EOModeler_LIBRARIES_DEPEND_UPON):
#	Define.
#	* EOAdaptors/PostgreSQLAdaptor/config.mak.in
#	(LIBRARIES_DEPEND_UPON): Add -lEOControl, -lEOAccess, $(FND_LIBS)
#	and $(OBJC_LIBS).
#	* EOAdaptors/SQLiteAdaptor/GNUmakefile.in (LIBRARIES_DEPEND_UPON):
#	Add -lEOAccess, $(FND_LIBS) and $(OBJC_LIBS).
# Author:  Yavor Doganov <yavor@gnu.org>
# Last-update: 2009-12-25
Index: gnustep-dl2-0.12.0/EOControl/GNUmakefile
===================================================================
--- gnustep-dl2-0.12.0.orig/EOControl/GNUmakefile
+++ gnustep-dl2-0.12.0/EOControl/GNUmakefile
@@ -32,6 +32,8 @@
 
 EOControl_NEEDS_GUI = no
 
+EOControl_LIBRARIES_DEPEND_UPON = $(OBJC_LIBS)
+
 # The C source files to be compiled
 EOControl_C_FILES = 
 
Index: gnustep-dl2-0.12.0/EOAccess/GNUmakefile         
===================================================================
--- gnustep-dl2-0.12.0.orig/EOAccess/GNUmakefile
+++ gnustep-dl2-0.12.0/EOAccess/GNUmakefile
@@ -32,6 +32,8 @@
 
 EOAccess_NEEDS_GUI = no
 
+EOAccess_LIBRARIES_DEPEND_UPON = -lEOControl $(OBJC_LIBS)
+
 # The C source files to be compiled
 EOAccess_C_FILES = 
 
Index: gnustep-dl2-0.12.0/EOInterface/GNUmakefile
===================================================================
--- gnustep-dl2-0.12.0.orig/EOInterface/GNUmakefile
+++ gnustep-dl2-0.12.0/EOInterface/GNUmakefile
@@ -31,6 +31,9 @@
 NATIVE_LIBRARY_NAME=EOInterface
 
 EOInterface_NEEDS_GUI = yes
+
+EOInterface_LIBRARIES_DEPEND_UPON = -lEOControl $(OBJC_LIBS)
+
 # The C source files to be compiled
 EOInterface_C_FILES = 
 
Index: gnustep-dl2-0.12.0/EOModeler/GNUmakefile
===================================================================
--- gnustep-dl2-0.12.0.orig/EOModeler/GNUmakefile
+++ gnustep-dl2-0.12.0/EOModeler/GNUmakefile
@@ -30,6 +30,9 @@
 # The library to be compiled
 NATIVE_LIBRARY_NAME=EOModeler
 
+EOModeler_LIBRARIES_DEPEND_UPON = -lEOControl -lEOAccess $(GUI_LIBS) \
+                                    $(OBJC_LIBS)
+
 EOModeler_NEEDS_GUI = yes
 # The C source files to be compiled
 EOModeler_C_FILES = 

Index: gnustep-dl2-0.12.0/EOAdaptors/PostgreSQLAdaptor/config.mak.in
===================================================================
--- gnustep-dl2-0.12.0.orig/EOAdaptors/PostgreSQLAdaptor/config.mak.in
+++ gnustep-dl2-0.12.0/EOAdaptors/PostgreSQLAdaptor/config.mak.in
@@ -27,7 +27,8 @@
 ADDITIONAL_INCLUDE_DIRS += @POSTGRES_INCLUDES@
 
 # Libraries linked to the framework
-LIBRARIES_DEPEND_UPON += @POSTGRES_LIBS@
+LIBRARIES_DEPEND_UPON += @POSTGRES_LIBS@ -lEOControl -lEOAccess $(FND_LIBS) \
+                           $(OBJC_LIBS)
 
 # Additional library directories the linker should search
 ADDITIONAL_LIB_DIRS += @POSTGRES_LIB_DIRS@

Index: gnustep-dl2-0.12.0/EOAdaptors/SQLiteAdaptor/GNUmakefile.in
===================================================================
--- gnustep-dl2-0.12.0.orig/EOAdaptors/SQLiteAdaptor/GNUmakefile.in
+++ gnustep-dl2-0.12.0/EOAdaptors/SQLiteAdaptor/GNUmakefile.in
@@ -28,7 +28,7 @@
 
 ADDITIONAL_INCLUDE_DIRS+=@SQLITE3_INCLUDES@
 ADDITIONAL_LIB_DIRS+=@SQLITE3_LIB_DIRS@
-LIBRARIES_DEPEND_UPON+=@SQLITE3_LIBS@
+LIBRARIES_DEPEND_UPON+=@SQLITE3_LIBS@ -lEOAccess $(FND_LIBS) $(OBJC_LIBS)
 FRAMEWORK_NAME=SQLite3EOAdaptor
 
 ADDITIONAL_NATIVE_LIB_DIRS+=../../EOControl ../../EOAccess