waf: go back to the previous method of handling .inst. rules
authorAndrew Tridgell <tridge@samba.org>
Mon, 8 Nov 2010 04:45:18 +0000 (15:45 +1100)
committerAndrew Tridgell <tridge@samba.org>
Mon, 8 Nov 2010 04:46:27 +0000 (15:46 +1100)
the change broke the library linkages for some library, as spotted by
Brad

buildtools/wafsamba/samba_install.py

index bf534f0c6fcf7bf80c6e9ce29534524e8aef2bec..0196bd9535f0d5b37c5eba066b77893a1d52620c 100644 (file)
@@ -83,7 +83,7 @@ def install_library(self):
         # install link. That stops us from overwriting the existing build
         # target, which has different ldflags
         self.done_install_library = True
-        t = self
+        t = self.clone('default')
         t.posted = False
         t.target += '.inst'
         self.env.RPATH = build_ldflags