Bug 78228

Summary: Link order important on IRIX
Product: kcontrol Reporter: The Written Word <bugzilla-kde>
Component: generalAssignee: Daniel Molkentin <molkentin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: IRIX   
Latest Commit: Version Fixed In:
Attachments: Patch

Description The Written Word 2004-03-22 17:47:13 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    Compiled From Sources
OS:          Irix

On IRIX, libraries with dependencies must come first.
Comment 1 The Written Word 2004-03-22 17:47:47 UTC
Created attachment 5336 [details]
Patch
Comment 2 mcamen 2004-04-12 20:20:08 UTC
CVS commit by mcamen: 

On IRIX, libraries with dependencies must come first. Does not affect
Linux.

CCMAIL: 78228-done@bugs.kde.org


  M +1 -1      fonts/Makefile.am   1.19
  M +1 -1      kfontinst/lib/Makefile.am   1.10


--- kdebase/kcontrol/fonts/Makefile.am  #1.18:1.19
@@ -13,5 +13,5 @@
 kcm_fonts_la_SOURCES = fonts.cpp
 kcm_fonts_la_LDFLAGS = $(KDE_RPATH) $(LIBFONTCONFIG_RPATH) -module -avoid-version $(all_libraries) -no-undefined
-kcm_fonts_la_LIBADD = $(LIB_KDEUI) libkxftconfig.la $(LIBFONTCONFIG_LIBS) $(top_builddir)/kcontrol/krdb/libkrdb.la
+kcm_fonts_la_LIBADD = libkxftconfig.la $(top_builddir)/kcontrol/krdb/libkrdb.la $(LIB_KDEUI) $(LIBFONTCONFIG_LIBS)
 kcm_fonts_la_METASOURCES = fonts.moc
 

--- kdebase/kcontrol/kfontinst/lib/Makefile.am  #1.9:1.10
@@ -24,5 +24,5 @@
 XConfig.h
 
-libkfontinst_la_LIBADD = $(LIB_FONT_ENC) $(LIB_KIO) ../../fonts/libkxftconfig.la $(LIBFONTCONFIG_LIBS) $(LIBFREETYPE_LIBS) $(LIBZ)
+libkfontinst_la_LIBADD = ../../fonts/libkxftconfig.la $(LIB_FONT_ENC) $(LIB_KIO) $(LIBFONTCONFIG_LIBS) $(LIBFREETYPE_LIBS) $(LIBZ)
 libkfontinst_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIBFONTCONFIG_RPATH) $(LIBFREETYPE_RPATH) -no-undefined
 INCLUDES= $(LIBFREETYPE_CFLAGS) $(LIBFONTCONFIG_CFLAGS) -DOS_$(UNAME) -I$(srcdir)/../../fonts $(all_includes)