Displaying 1 result from an estimated 1 matches for "my_ldflag".
Did you mean:
my_ldflags
2019 Mar 26
0
samba 4.10 searches wrong libs on cross-compile
...e 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', testflags=False)
and in all the previous releases that worked fine. Since there have been other patches already, I...