Bug 78228 - Link order important on IRIX
Summary: Link order important on IRIX
Status: RESOLVED FIXED
Alias: None
Product: kcontrol
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources IRIX
: NOR normal
Target Milestone: ---
Assignee: Daniel Molkentin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-22 17:47 UTC by The Written Word
Modified: 2004-04-12 20:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch (1.19 KB, patch)
2004-03-22 17:47 UTC, The Written Word
Details

Note You need to log in before you can comment on or make changes to this bug.
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)