Fix SDL_image loading jpeg and others
It was using dlopen and its shared object didn't have the proper rpath to do so. This fixes tuxpaint loading of jpeg pictures.
This commit is contained in:
parent
197ddbced2
commit
5813ab6de2
@ -17,7 +17,12 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
|
||||
configureFlags = [
|
||||
# Disable its dynamic loading or dlopen will fail because of no proper rpath
|
||||
"--disable-jpg-shared"
|
||||
"--disable-png-shared"
|
||||
"--disable-tif-shared"
|
||||
] ++ stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
|
||||
|
||||
buildInputs = [ SDL libpng libjpeg libtiff libungif libXpm ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user