summary refs log tree commit diff
path: root/pkgs/development/libraries/prometheus-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/prometheus-cpp')
-rw-r--r--pkgs/development/libraries/prometheus-cpp/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/libraries/prometheus-cpp/default.nix b/pkgs/development/libraries/prometheus-cpp/default.nix
index 0403c7ad10c..624b23f4d60 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";