1. 20 Sep, 2017 1 commit
    • cmake: fix static linking for bundled deps · 8c19969a
      Our bundled deps are being built as simple static libraries which are
      then linked into the libgit2 library via `TARGET_LINK_LIBRARIES`. While
      this works for a dynamically built libgit2 library, using this function
      to link two static libraries does not have the expected outcome of
      merging those static libraries into one big library. This leads to
      symbols of our bundled deps being undefined in the resulting libgit2
      archive.
      
      As we have bumped our minimum CMake version to 2.8.11, we can now easily
      make use of object libraries for our bundled dependencies. So build
      instructions are still self-contained inside of the dependency
      directories and the resulting object libraries can just be added to the
      LIBGIT2_OBJECTS list, which will cause them to be linked into the final
      resulting static library. This fixes the issue of undefined symbols.
      Patrick Steinhardt committed
  2. 16 Aug, 2017 1 commit
  3. 05 Dec, 2014 2 commits
  4. 09 Dec, 2013 1 commit
  5. 17 Mar, 2013 1 commit
  6. 11 Jan, 2013 3 commits
  7. 23 Nov, 2012 1 commit
  8. 18 Feb, 2012 3 commits
  9. 17 Feb, 2012 1 commit