waf: Fix clashing symbols in the user land symbols

Update #4475
This commit is contained in:
Chris Johns 2021-07-27 17:41:52 +10:00
parent 59f652fe88
commit f700edc5b8

View File

@ -5020,7 +5020,7 @@ class dhcpcd(builder.Module):
'dhcpcd/compat/pselect.c',
'dhcpcd/crypt/hmac_md5.c',
],
mm.generator['source']('-D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET')
mm.generator['source']('-D__FreeBSD__ -DTHERE_IS_NO_FORK -DMASTER_ONLY -DINET -Dhmac_md5=_dhcpcd_hmac_md5')
)
self.addRTEMSUserSourceFiles(
[