zabbix: Use dev outputs of libc

This commit is contained in:
Tuomas Tynkkynen 2016-09-01 00:28:32 +03:00
parent 5ad122b500
commit 43cf6f944a
3 changed files with 3 additions and 3 deletions

View File

@ -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
''}
'';

View File

@ -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
''}
'';

View File

@ -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
''}
'';