diff --git a/aclocal.m4 b/aclocal.m4 index e019fe9ef2..6127720d02 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -2335,7 +2335,7 @@ openedition*) need_version=no shlibpath_overrides_runpath=yes shlibpath_var=LIBPATH - postinstall_cmds="rm \$destdir/\$linkname; cp \$linkname \$destdir" + postinstall_cmds="rm \$destdir/\$linkname; cp \$linkname \$destdir; chmod a+x \$lib" # the library's exports are in libname.x; this is the file that must # actually be linked with to use a DLL. library_names_spec="\${libname}\${release}.so\$versuffix \${libname}.x" diff --git a/configure b/configure index 57660f8af1..6a3b6b17c1 100755 --- a/configure +++ b/configure @@ -6535,7 +6535,7 @@ openedition*) need_version=no shlibpath_overrides_runpath=yes shlibpath_var=LIBPATH - postinstall_cmds="rm \$destdir/\$linkname; cp \$linkname \$destdir" + postinstall_cmds="rm \$destdir/\$linkname; cp \$linkname \$destdir; chmod a+x \$lib" # the library's exports are in libname.x; this is the file that must # actually be linked with to use a DLL. library_names_spec="\${libname}\${release}.so\$versuffix \${libname}.x"