From 207a2d78435566fb4a724626f3609c82e15898e1 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Wed, 1 Jan 2020 20:45:11 +0100 Subject: [PATCH] prometheus-cpp: build shared libraries --- pkgs/development/libraries/prometheus-cpp/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/prometheus-cpp/default.nix b/pkgs/development/libraries/prometheus-cpp/default.nix index b047322c35e..e238ca790be 100644 --- a/pkgs/development/libraries/prometheus-cpp/default.nix +++ b/pkgs/development/libraries/prometheus-cpp/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { "-DUSE_THIRDPARTY_LIBRARIES=OFF" "-DCIVETWEB_INCLUDE_DIR=${civetweb.dev}/include" "-DCIVETWEB_CXX_LIBRARY=${civetweb}/lib/libcivetweb${stdenv.targetPlatform.extensions.sharedLibrary}" + "-DBUILD_SHARED_LIBS=ON" ]; NIX_LDFLAGS = [ "-ldl" ];