Commit 359761a0 authored by Adkins, Cameron's avatar Adkins, Cameron
Browse files

libcoro: fix inconsistent prefix

parent f3c45ddb
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 226fd6c..2a90276 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -207,7 +207,7 @@ endif()
 
 
 # generate pc file for pkg-config
-if(MSVC)
+if(WIN32)
     set(target1 ${PROJECT_NAME})
 else()
     string(REGEX REPLACE "^lib" "" target1 ${PROJECT_NAME})
+4 −0
Original line number Diff line number Diff line
@@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-TZ6EOS7Oo7ICXbx+ceQ6ZX18bPPWNwHyGJuALsUzb4s=";
  };

  patches = [
    ./0001-fix-libcoro-prefix.patch
  ];

  buildInputs = [
    openssl
    c-ares