aboutsummaryrefslogtreecommitdiff
path: root/net/samba-devel/files/patch-python_setup.py
blob: fb7a58cf43d900792ca163bea9dcc3c29b0c1253 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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)