diff --unified --recursive --new-file ptxdist-orig/patches/liboil-0.3.12/generic/liboil-0.3.12-ltmain_sh.diff ptxdist-nx1/patches/liboil-0.3.12/generic/liboil-0.3.12-ltmain_sh.diff
--- ptxdist-orig/patches/liboil-0.3.12/generic/liboil-0.3.12-ltmain_sh.diff	1970-01-01 01:00:00.000000000 +0100
+++ ptxdist-nx1/patches/liboil-0.3.12/generic/liboil-0.3.12-ltmain_sh.diff	2007-07-26 18:59:44.000000000 +0200
@@ -0,0 +1,25 @@
+# 
+# Submitted-By: Guillaume GOURAT, 2007-07-26
+# Committed-By: Guillaume GOURAT, 2007-07-26
+#
+# Description: 
+#
+# See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=58664
+#
+# State:
+# 
+# not submitted to upstream
+#
+
+diff --unified --recursive liboil-0.3.12/ltmain.sh liboil-0.3.12-nx1/ltmain.sh
+--- liboil-0.3.12/ltmain.sh	2006-06-19 20:36:49.000000000 +0200
++++ liboil-0.3.12-nx1/ltmain.sh	2007-07-26 16:45:07.000000000 +0200
+@@ -2545,7 +2545,7 @@
+ 	   { test "$use_static_libs" = no || test -z "$old_library"; }; then
+ 	  if test "$installed" = no; then
+ 	    notinst_deplibs="$notinst_deplibs $lib"
+-	    need_relink=yes
++	    #need_relink=yes
+ 	  fi
+ 	  # This is a shared library
+ 
