From 12ab4c330373c58284e936798e6db1f5a325d81f Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Thu, 24 Jan 2019 22:23:22 +0100 Subject: [PATCH] libLAS: fix build --- pkgs/development/libraries/libLAS/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/libLAS/default.nix b/pkgs/development/libraries/libLAS/default.nix index 7bd2a1ec5738..15ef9ee890a6 100644 --- a/pkgs/development/libraries/libLAS/default.nix +++ b/pkgs/development/libraries/libLAS/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { "-DGDAL_CONFIG=${gdal}/bin/gdal-config" "-DWITH_LASZIP=ON" "-DLASZIP_INCLUDE_DIR=${LASzip}/include" + "-DCMAKE_EXE_LINKER_FLAGS=-pthread" ]; postFixup = stdenv.lib.optionalString stdenv.isDarwin ''