prometheus-cpp: build shared libraries

This commit is contained in:
Franz Pletz 2020-01-01 20:45:11 +01:00
parent 6c9aa31427
commit 207a2d7843
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -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" ];