mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
zabbix: Use dev outputs of libc
This commit is contained in:
parent
5ad122b500
commit
43cf6f944a
3 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ let
|
|||
substituteInPlace ./configure \
|
||||
--replace " -static" "" \
|
||||
${stdenv.lib.optionalString (stdenv.cc.libc != null) ''
|
||||
--replace /usr/include/iconv.h ${stdenv.cc.libc}/include/iconv.h
|
||||
--replace /usr/include/iconv.h ${stdenv.lib.getDev stdenv.cc.libc}/include/iconv.h
|
||||
''}
|
||||
'';
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ let
|
|||
substituteInPlace ./configure \
|
||||
--replace " -static" "" \
|
||||
${stdenv.lib.optionalString (stdenv.cc.libc != null) ''
|
||||
--replace /usr/include/iconv.h ${stdenv.cc.libc}/include/iconv.h
|
||||
--replace /usr/include/iconv.h ${stdenv.lib.getDev stdenv.cc.libc}/include/iconv.h
|
||||
''}
|
||||
'';
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ let
|
|||
substituteInPlace ./configure \
|
||||
--replace " -static" "" \
|
||||
${stdenv.lib.optionalString (stdenv.cc.libc != null) ''
|
||||
--replace /usr/include/iconv.h ${stdenv.cc.libc}/include/iconv.h
|
||||
--replace /usr/include/iconv.h ${stdenv.lib.getDev stdenv.cc.libc}/include/iconv.h
|
||||
''}
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue