mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 01:33:20 +00:00
prometheus-cpp: build shared libraries
This commit is contained in:
parent
6c9aa31427
commit
207a2d7843
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user