File glib-autotools.patch of Package glib1

Index: glib-1.2.10/gmodule/Makefile.am
===================================================================
--- glib-1.2.10.orig/gmodule/Makefile.am
+++ glib-1.2.10/gmodule/Makefile.am
@@ -42,7 +42,7 @@ libgplugin_b_la_LDFLAGS = @G_MODULE_LDFL
 libgplugin_b_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)
 
 noinst_PROGRAMS = testgmodule
-testgmodule_LDFLAGS += @G_MODULE_LDFLAGS@
+testgmodule_LDFLAGS = @G_MODULE_LDFLAGS@
 testgmodule_LDADD = libgmodule.la $(libglib) @G_MODULE_LIBS@
 
 .PHONY: files release
Index: glib-1.2.10/gthread/Makefile.am
===================================================================
--- glib-1.2.10.orig/gthread/Makefile.am
+++ glib-1.2.10/gthread/Makefile.am
@@ -19,8 +19,7 @@ libgthread_la_LDFLAGS = \
 	-release $(LT_RELEASE) \
 	-export-dynamic
 
-libgthread_la_LIBADD = @G_THREAD_LIBS@
-libgthread_la_LDADD = ../libglib.la
+libgthread_la_LIBADD = @G_THREAD_LIBS@ ../libglib.la
 
 noinst_PROGRAMS = testgthread
 testgthread_LDADD = ../libglib.la libgthread.la 
openSUSE Build Service is sponsored by