Merge pull request #137503 from Mic92/sysdig2

sysdig: fix linking against libabseil
This commit is contained in:
Michael Raskin 2021-09-12 09:32:30 +00:00 committed by GitHub
commit fe5b774b62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-DluaL_reg=luaL_Reg -DluaL_getn(L,i)=((int)lua_objlen(L,i))";
preConfigure = ''
cmakeFlagsArray+=(-DCMAKE_EXE_LINKER_FLAGS="-ltbb -lcurl")
cmakeFlagsArray+=(-DCMAKE_EXE_LINKER_FLAGS="-ltbb -lcurl -labsl_synchronization")
export INSTALL_MOD_PATH="$out"
'' + optionalString (kernel != null) ''