2009-12-25  Yavor Doganov  <yavor@gnu.org>  (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).

--- 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 = 
 

--- 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 = 
 
--- 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 = 
 
--- 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 = 
--- 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@
--- 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
