openexr, imlbase: unbreak on macOS

With the default configuration, the libraries are generated with a
-2_4.24.dylib suffix, and linking with -l...-2_4  doesn't work.  Pass
the configure option to turn off the suffix.
This commit is contained in:
Mike Sperber 2020-04-29 17:27:21 +02:00
parent 14927d8503
commit 8532d16e3d
2 changed files with 6 additions and 0 deletions

View file

@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
./bootstrap
'';
# otherwise, the pkgconfig info for the libraries will not match the filenames
configureFlags = stdenv.lib.optionalString stdenv.isDarwin "--enable-namespaceversioning=no";
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ automake autoconf libtool which ];

View file

@ -42,6 +42,9 @@ stdenv.mkDerivation rec {
./bootstrap
'';
# otherwise, the pkgconfig info for the libraries will not match the filenames
configureFlags = stdenv.lib.optionalString stdenv.isDarwin "--enable-namespaceversioning=no";
nativeBuildInputs = [ pkgconfig autoconf automake libtool ];
propagatedBuildInputs = [ ilmbase zlib ];