xref: /haiku/src/libs/gnu/Jamfile (revision 0c062f469a42f945fc4cb5efadce721728ac0996)
1SubDir HAIKU_TOP src libs gnu ;
2
3UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
4UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility gnu ] : true ;
5UsePrivateHeaders shared ;
6
7SubDirCcFlags [ FDefines _GNU_SOURCE=1 ] ;
8SubDirC++Flags [ FDefines _GNU_SOURCE=1 ] ;
9
10local architectureObject ;
11for architectureObject in [ MultiArchSubDirSetup ] {
12	on $(architectureObject) {
13		SharedLibrary [ MultiArchDefaultGristFiles libgnu.so ] :
14			crypt.cpp
15			memmem.c
16			qsort.c
17			xattr.cpp
18			;
19	}
20}
21