Skip to content
Snippets Groups Projects
  1. May 14, 2020
  2. May 13, 2020
  3. May 12, 2020
  4. May 11, 2020
  5. May 09, 2020
  6. May 08, 2020
    • Peter Wu's avatar
      CMake: add BUILD_SHARED_LIBS option · af225b59
      Peter Wu authored
      Prior to commit 4e955731, ngtcp2 was
      built as shared library. That has changed into a static or shared
      library depending on the BUILD_SHARED_LIBS option, but this option was
      not documented and the comments were misleading. Rectify both issues.
      
      Note that autotools builds both libraries by default, but the current
      CMake config is only able to build one of them.
      af225b59
    • Peter Wu's avatar
      CMake: ensure libs are built position-independent · 7c8003d5
      Peter Wu authored
      Static libraries have to be built as position-independent, otherwise
      they cannot be linked into a shared library which is built
      position-independent (-fPIC).
      
      Without this, linking objects into libcurl.so fails with:
      
          /usr/bin/ld: libngtcp2.a(ngtcp2_conn.c.o): relocation R_X86_64_PC32 against symbol `__asan_option_detect_stack_use_after_return' can not be used when making a shared object; recompile with -fPIC
      7c8003d5
  7. May 06, 2020
  8. May 05, 2020
  9. May 04, 2020
  10. May 03, 2020
  11. May 01, 2020