use /lib64 instead of /lib when needed
This commit is contained in:
parent
2ca96a3fef
commit
c7f7fc52e8
|
@ -1215,6 +1215,8 @@ vips_guess_libdir( const char *argv0, const char *env_name )
|
|||
*/
|
||||
if( strcmp( prefix, VIPS_PREFIX ) == 0 )
|
||||
libdir = VIPS_LIBDIR;
|
||||
else if ( strstr(VIPS_LIBDIR, "/lib64") )
|
||||
libdir = g_strdup_printf( "%s/lib64", prefix );
|
||||
else
|
||||
libdir = g_strdup_printf( "%s/lib", prefix );
|
||||
|
||||
|
|
Loading…
Reference in New Issue