libroot: Add fake libc static library
* It's specified in POSIX: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html * wine hardcodes a -lc in its winegcc compiler Change-Id: I592b62085787d8f1a1ead2df32e978a91ab03ea9 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3086 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
parent
6a40fd892c
commit
6f92b552f3
@ -39,7 +39,7 @@ for lib in [ HaikuImageGetSystemLibs ] $(developmentLibs) {
|
||||
|
||||
# static libraries
|
||||
AddFilesToPackage develop lib :
|
||||
libcolumnlistview.a
|
||||
libc.a libcolumnlistview.a
|
||||
<$(architecture)>liblocalestub.a
|
||||
libm.a libpthread.a
|
||||
libprint.a libprintutils.a
|
||||
|
@ -34,6 +34,7 @@ for lib in [ HaikuImageGetSystemLibs ] $(developmentLibs) {
|
||||
|
||||
# static libraries
|
||||
AddFilesToPackage develop lib $(architecture) :
|
||||
<$(architecture)>libc.a
|
||||
<$(architecture)>libcolumnlistview.a
|
||||
<$(architecture)>liblocalestub.a
|
||||
<$(architecture)>libm.a
|
||||
|
@ -101,6 +101,8 @@ for architectureObject in [ MultiArchSubDirSetup ] {
|
||||
[ TargetLibgcc ]
|
||||
;
|
||||
|
||||
# These are defined in POSIX for c99 support, so fake'em
|
||||
StaticLibrary [ MultiArchDefaultGristFiles libc.a ] : empty.c ;
|
||||
StaticLibrary [ MultiArchDefaultGristFiles libm.a ] : empty.c ;
|
||||
StaticLibrary [ MultiArchDefaultGristFiles libpthread.a ] : empty.c ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user