This bug will track the inclusion of Waf build support for Position Independent Executables in Samba 4.0.x. Support is currently in Master with d47c1245788505cfaca9a25c855a2503c83e4315 and 4e76a77f622f1fa30a8ae1e011d87fc9754e1b85.
Created attachment 8928 [details] proposed patch for 4.0.next
Comment on attachment 8928 [details] proposed patch for 4.0.next Works fine, thanks!
Pushed to autobuild-v4-0-test.
Pushed to v4-0-test. Closing out bug report. Thanks!