Skip to content
Snippets Groups Projects
  1. Sep 26, 2018
  2. Jul 30, 2018
  3. Jun 05, 2018
  4. May 05, 2018
  5. May 04, 2018
  6. Apr 26, 2018
  7. Apr 23, 2018
  8. Apr 20, 2018
  9. Apr 18, 2018
    • Guilherme Amadio's avatar
      Add dynamic loading libraries to imported target for Davix · 1b864da5
      Guilherme Amadio authored
      OpenSSL needs -ldl, but does not propagate that properly, so
      when linked statically into Davix, there are missing symbols:
      
      builtins/davix/DAVIX-prefix/lib/libdavix.a(davixcontext.cpp.o):
      	In function `Davix::LibPath::LibPath()':
      builtins/davix/DAVIX-prefix/src/DAVIX/src/davixcontext.cpp:154:
      	undefined reference to `dladdr'
      builtins/openssl/OPENSSL-prefix/lib/libcrypto.a(dso_dlfcn.o):
      	In function `dlfcn_globallookup':
      dso_dlfcn.c:(.text+0x11): undefined reference to `dlopen'
      dso_dlfcn.c:(.text+0x24): undefined reference to `dlsym'
      dso_dlfcn.c:(.text+0x2f): undefined reference to `dlclose'
      
      Therefore we need to add ${CMAKE_DL_LIBS} to the Davix::Davix
      imported target so that -ldl gets added when linking to Davix.
      We can then remove the ${SYSLIBS} from RDAVIX, which had this
      role before.
      1b864da5
  10. Apr 17, 2018
  11. Feb 21, 2018
Loading