build: fixed case of system library deps
authorAndrew Tridgell <tridge@samba.org>
Tue, 23 Mar 2010 22:29:20 +0000 (09:29 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:05 +0000 (20:27 +1000)
buildtools/wafsamba/samba_deps.py

index 608f703b1371809680e03fc2f2735d0dfa0602ca..3d3af212597fb56b8d9dd27b67596df54a43e002 100644 (file)
@@ -96,7 +96,11 @@ def build_dependencies(self):
         # this is needed for the ccflags of libs that come from pkg_config
         self.uselib = list(self.direct_syslibs)
 
-
+    if getattr(self, 'uselib', None):
+        up_list = []
+       for l in self.uselib:
+           up_list.append(l.upper())
+       self.uselib = up_list
 
 
 def build_includes(self):