Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > 5694972cbdd71c251f5cc8bc45a9de52 > files > 1

gnustep-gui-0.14.0-2mdv2009.0.src.rpm

2008-08-21  Yavor Doganov  <yavor@gnu.org>  (tiny change)

	* Source/GNUmakefile.preamble (LIBRARIES_DEPEND_UPON):
	Unconditionally link against $(OBJC_LIBS) on all platforms to
	avoid undefined symbols.
	Reported by Funda Wang (bug #24109).


--- Source/GNUmakefile.preamble.orig	2008-08-21 11:18:23.000000000 +0300
+++ Source/GNUmakefile.preamble	2008-08-21 11:20:16.000000000 +0300
@@ -90,12 +90,5 @@
 # systems where building a shared library requires to pass to the linker
 # all the libraries the target library depends upon.
 
-LIBRARIES_DEPEND_UPON = -l$(FOUNDATION_LIBRARY_NAME) $(ADDITIONAL_DEPENDS)
-
-ifeq ($(GNUSTEP_TARGET_OS),mingw32)
-libgnustep-gui_LIBRARIES_DEPEND_UPON += -lobjc
-endif
-ifeq ($(GNUSTEP_TARGET_OS),cygwin)
-libgnustep-gui_LIBRARIES_DEPEND_UPON += -lobjc
-endif
-
+LIBRARIES_DEPEND_UPON = -l$(FOUNDATION_LIBRARY_NAME) $(ADDITIONAL_DEPENDS) \
+			  $(OBJC_LIBS)