101934f BUILD: Fix issue with installation of libsss_secrets

1 file Authored by lslebodn 5 years ago, Committed by fidencio 5 years ago,
1 file changed. 21 lines added. 22 lines removed.
    BUILD: Fix issue with installation of libsss_secrets
    
    libsss_secret.so is linked with libsss_util.so therefore it shoudl be
    added into pkglib_LTLIBRARIES after libsss_util.so.
    Otherwise there can failure in linking phase.
    
    libtool: warning: relinking 'libsss_secrets.la'
    libtool: install: (cd /home/build/sssd/ci-build-debug/intg/bld; /bin/sh
      "/home/build/sssd/ci-build-debug/intg/bld/libtool"  --tag CC
      --mode=relink gcc -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith
      -Wcast-qual -Wcast-align -Wwrite-strings -Wundef
      -Werror-implicit-function-declaration -Winit-self -Wmissing-include-dirs
      -fno-strict-aliasing -std=gnu99 -O2 -g -g3 -O2 -Werror
      -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
      -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
      -avoid-version -o libsss_secrets.la -rpath
      /tmp/sssd-intg.l7nl5pgb/lib/sssd
      src/util/secrets/libsss_secrets_la-secrets.lo
      src/util/secrets/libsss_secrets_la-config.lo -ltalloc -lldb
      libsss_crypt.la libsss_debug.la libsss_util.la )
    libtool: relink: gcc -shared  -fPIC -DPIC
      src/util/secrets/.libs/libsss_secrets_la-secrets.o
      src/util/secrets/.libs/libsss_secrets_la-config.o   -Wl,-rpath
      -Wl,/tmp/sssd-intg.l7nl5pgb/lib/sssd -ltalloc -lldb
      -L/tmp/sssd-intg.l7nl5pgb/lib/sssd -lsss_crypt -lsss_debug -lsss_util
      -O2 -g -g3 -O2   -Wl,-soname -Wl,libsss_secrets.so -o
      .libs/libsss_secrets.so
    /usr/bin/ld: cannot find -lsss_util
    collect2: error: ld returned 1 exit status
    libtool:   error: error: relink 'libsss_secrets.la' with the above
    command before installing it
    
    Merges: https://pagure.io/SSSD/sssd/pull-request/3808
    
    Reviewed-by: Pavel Březina <pbrezina@redhat.com>
    
        
file modified
+21 -22