rubyPackages.libxml-ruby: fix build on Darwin
Darwin’s libiconv has separate outputs for the dylib and headers, so it needs to use `lib.getLib` and `lib.getDev`.
This commit is contained in:
@@ -525,8 +525,8 @@ in
|
||||
"--with-xml2-lib=${libxml2.out}/lib"
|
||||
"--with-xml2-include=${libxml2.dev}/include/libxml2"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
"--with-iconv-dir=${libiconv}"
|
||||
"--with-opt-include=${libiconv}/include"
|
||||
"--with-iconv-dir=${lib.getLib libiconv}"
|
||||
"--with-opt-include=${lib.getDev libiconv}/include"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user