From 63a80ff6965190dee6eb486bb14dac24d5b5a8ce Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 9 Nov 2024 17:55:31 +0100 Subject: This should fix LA64 Static build --- src/wrapped/wrappedlibc_private.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/wrapped/wrappedlibc_private.h b/src/wrapped/wrappedlibc_private.h index 9f63a9b4..84325a5e 100644 --- a/src/wrapped/wrappedlibc_private.h +++ b/src/wrapped/wrappedlibc_private.h @@ -590,7 +590,11 @@ GO(gethostent, pFv) GO(gethostent_r, iFppLpp) GO(gethostid, lFv) GOW(gethostname, iFpL) +#ifdef STATICBUILD +//GO(__gethostname_chk, iFpLL) // it's sometimes not defined, like in LA64 plateform, so lets no wrap it for now +#else GO(__gethostname_chk, iFpLL) +#endif GOW(getifaddrs, iFp) GO(getipv4sourcefilter, iFiuuppp) GOW(getitimer, iFup) @@ -2405,7 +2409,11 @@ GOW(wcstoll, IFppi) //GOW(__wcstoll_l, GOW(wcstoll_l, IFppip) GO(wcstombs, LFppL) +#ifdef STATICBUILD +//GO(__wcstombs_chk, LFppLL) // it's sometimes not defined, like in LA64 plateform, so lets no wrap it for now +#else GO(__wcstombs_chk, LFppLL) +#endif GOW(wcstoq, IFppi) GO(wcstoul, LFppi) //GO(__wcstoul_internal, -- cgit 1.4.1