aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/prometheus-cpp
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2020-01-01 20:45:11 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2020-01-02 06:12:27 +0100
commit207a2d78435566fb4a724626f3609c82e15898e1 (patch)
tree36efa69bc9f912dfcf5d780da5c321d25324e647 /pkgs/development/libraries/prometheus-cpp
parent6c9aa31427ef29c86aafa2af9b0e20c975625472 (diff)
prometheus-cpp: build shared libraries
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 b047322c35e6..e238ca790be6 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" ];