summaryrefslogtreecommitdiff
path: root/net/samba-devel/files/patch-python_setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba-devel/files/patch-python_setup.py')
-rw-r--r--net/samba-devel/files/patch-python_setup.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/samba-devel/files/patch-python_setup.py b/net/samba-devel/files/patch-python_setup.py
new file mode 100644
index 000000000000..fb7a58cf43d9
--- /dev/null
+++ b/net/samba-devel/files/patch-python_setup.py
@@ -0,0 +1,12 @@
+--- python/setup.py.orig Thu Mar 4 05:28:18 2004
++++ python/setup.py Thu Mar 4 05:29:35 2004
+@@ -57,6 +57,9 @@
+ if lib[0:2] == "-L":
+ library_dirs.append(lib[2:])
+ continue
++ if lib[0:2] == "-W":
++ # Skip linker flags
++ continue
+ print "Unknown entry '%s' in $LIBS variable passed to setup.py" % lib
+ sys.exit(1)
+