[gnome-boxes] build: fix library linker order



commit fcbfa2a1091d4c5e8e14a9927b2e7a5d3e072c0d
Author: Dominique Leuenberger <dimstar opensuse org>
Date:   Wed Aug 20 20:33:42 2014 +0200

    build: fix library linker order
    
    libcommon.a references functions from libarchive, so it must be listed
    before the same in the linker call. This fixes build with -Wl,--as-needed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=735144

 src/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index e43d96b..9ae8dbb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -176,7 +176,7 @@ gnome_boxes_search_provider_SOURCES =               \
        gnome-boxes-search-provider.vala        \
        $(NULL)
 
-gnome_boxes_search_provider_LDADD = $(BOXES_COMMON_LIBS) libcommon.a
+gnome_boxes_search_provider_LDADD = libcommon.a $(BOXES_COMMON_LIBS)
 gnome_boxes_search_provider_CFLAGS = $(BOXES_COMMON_CFLAGS)
 $(srcdir)/gnome_boxes_search_provider_vala.stamp: $(libcommon_a_DEPENDENCIES)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]