Ticket #959: gentoo293024.patch

File gentoo293024.patch, 811 bytes (added by gagern, 14 years ago)

Patch to correct order

  • lib/Makefile.am

    Make boinc-6.10.18 compile with LDFLAGS="-Wl,--as-needed"
    
    The library providing the symbols has to be named after the library using
    the symbols. Therefore LIBBOINC has to be after LIBBOINC_CRYPT_STATIC.
    
    2009-11-13 Martin von Gagern
    
    References:
    http://bugs.gentoo.org/293024
    http://www.gentoo.org/proj/en/qa/asneeded.xml
    
    old new msg_test_CXXFLAGS = $(PTHREAD_CFLAGS) 
    205205msg_test_LDADD = $(LIBBOINC)
    206206crypt_prog_SOURCES = crypt_prog.cpp
    207207crypt_prog_CXXFLAGS = $(PTHREAD_CFLAGS)
    208 crypt_prog_LDADD = $(LIBBOINC) $(LIBBOINC_CRYPT_STATIC) $(SSL_LIBS)
     208crypt_prog_LDADD = $(LIBBOINC_CRYPT_STATIC) $(LIBBOINC) $(SSL_LIBS)
    209209