summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/samba/files/samba-3.0.x-libdirsymlink.patch')
-rw-r--r--net-fs/samba/files/samba-3.0.x-libdirsymlink.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-fs/samba/files/samba-3.0.x-libdirsymlink.patch b/net-fs/samba/files/samba-3.0.x-libdirsymlink.patch
new file mode 100644
index 000000000000..ecdc0851e264
--- /dev/null
+++ b/net-fs/samba/files/samba-3.0.x-libdirsymlink.patch
@@ -0,0 +1,13 @@
+--- source/configure.in.old 2004-09-09 11:33:06.218241792 +0200
++++ source/configure.in 2004-09-09 11:37:09.844205016 +0200
+@@ -1708,8 +1708,8 @@
+ dnl succeed when the header is found. To counter this, make sure the
+ dnl library directory is there and check the ABI directory first (which
+ dnl should be harmless on other systems.
+- for l in "lib32" "lib" ; do
+- if test -d "$i/$l" ; then
++ for l in "lib" ; do
++ if test -d "$i/$l" -o -L "$i/$l" ; then
+ LDFLAGS="$save_LDFLAGS -L$i/$l"
+ LIBS=
+ export LDFLAGS LIBS CPPFLAGS