diff options
author | Remi Collet <remi@remirepo.net> | 2021-06-15 15:56:16 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-06-15 15:56:16 +0200 |
commit | d0679f8ab9d31dcfbef3493e2a646c084c17f229 (patch) | |
tree | 1353d781d602b38a0b5cacdbd50d9e5e8f8ea3b2 /vips-lib64.patch | |
parent | 87b065f171356eb8fb038feb19fe0bc584f7ae69 (diff) |
test build for fix for bad prefix guess from
https://github.com/libvips/libvips/pull/2308
only use openjpeg2 >= 2.4 (Fedora >= 34)
Diffstat (limited to 'vips-lib64.patch')
-rw-r--r-- | vips-lib64.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vips-lib64.patch b/vips-lib64.patch new file mode 100644 index 0000000..edcc88b --- /dev/null +++ b/vips-lib64.patch @@ -0,0 +1,22 @@ +From ea48b6a482f4e85c967593fc8dc523e3d10a7067 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Tue, 15 Jun 2021 15:17:35 +0200 +Subject: [PATCH] use /lib64 instead of /lib when needed + +--- + libvips/iofuncs/init.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/libvips/iofuncs/init.c b/libvips/iofuncs/init.c +index 74f9cdd93..b7b9e8e0b 100644 +--- a/libvips/iofuncs/init.c ++++ b/libvips/iofuncs/init.c +@@ -1226,6 +1226,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 ); + |