Displaying 2 results from an estimated 2 matches for "asneeded_ldflag".
Did you mean:
asneeded_ldflags
2011 May 17
2
CentOS 5.6 X86_64 install problem
I am trying to install samba 4 on a CentOS 5.6 X86_64 with all update
installed following the directions from
http://wiki.samba.org/index.php/Samba4/HOWTO
Installed git and am able to use that to pull down latest version of
samba source code
ran ./configure.developer (can post output from this long file if
needed)
Once that was done I ran the make command and got this at the end
2019 Mar 26
0
samba 4.10 searches wrong libs on cross-compile
...?
In wscript I modify it with the following:
# gentoo always adds this. We want our normal build to be as
# strict as the strictest OS we support, so adding this here
# allows us to find problems on our development hosts faster.
# It also results in faster load time.
conf.env.asneeded_ldflags = conf.ADD_LDFLAGS('-Wl,--as-needed', testflags=True)
# MY_MODIFICATION ...
my_libs = os.getenv(MY_LDFLAGS')
conf.ADD_LDFLAGS(my_libs, testflags=False)
# ... MY_MODIFICATION
if not conf.CHECK_NEED_LC("-lc not needed"):
conf.ADD_LDFLAGS('-lc...