libsmbclient: update to 4.4.6
[unleashed-userland.git] / components / network / samba / patches / usr-lib.patch
blob72b61350885495bb3a5363c3876abda689360f18
1 Source: Home brewed
2 Fixes: using of /usr/lib in default rpath.
4 --- samba-4.4.3/third_party/waf/wafadmin/Tools/libtool.py.1 2016-06-04 11:08:22.569803001 +0300
5 +++ samba-4.4.3/third_party/waf/wafadmin/Tools/libtool.py 2016-06-04 11:08:33.681654816 +0300
6 @@ -141,7 +141,7 @@
7 self.dlopen = None
8 self.dlpreopen = None
9 # Directory that this library needs to be installed in:
10 - self.libdir = '/usr/lib'
11 + self.libdir = ''
12 if not self.__parse():
13 raise ValueError("file %s not found!!" %(la_filename))
15 --- samba-4.4.3/third_party/waf/wafadmin/3rdparty/boost.py.1 2016-06-04 11:10:23.819507053 +0300
16 +++ samba-4.4.3/third_party/waf/wafadmin/3rdparty/boost.py 2016-06-04 11:10:37.071446896 +0300
17 @@ -41,7 +41,7 @@
18 int main() { std::cout << BOOST_VERSION << std::endl; }
19 '''
21 -boost_libpath = ['/usr/lib', '/usr/local/lib', '/opt/local/lib', '/sw/lib', '/lib']
22 +boost_libpath = ['/usr/local/lib', '/opt/local/lib', '/sw/lib', '/lib']
23 boost_cpppath = ['/usr/include', '/usr/local/include', '/opt/local/include', '/sw/include']
25 STATIC_NOSTATIC = 'nostatic'