xref: /haiku/src/kits/package/solver/Jamfile (revision d64b771b96050fca8ff1859daa5ec44ff3493af7)
1SubDir HAIKU_TOP src kits package solver ;
2
3# add-on implementing a libsolv based BSolver
4
5local architectureObject ;
6for architectureObject in [ MultiArchSubDirSetup ] {
7	on $(architectureObject) {
8
9		UseBuildFeatureHeaders libsolv ;
10
11		local libsolvHeaders
12			= [ BuildFeatureAttribute libsolv : headers : path ] ;
13		UseHeaders [ FDirName $(libsolvHeaders) solv ] ;
14
15		UsePrivateHeaders shared ;
16
17		SharedLibrary
18			[ MultiArchDefaultGristFiles libpackage-add-on-libsolv.so ]
19			:
20			LibsolvSolver.cpp
21			:
22			package
23			[ BuildFeatureAttribute libsolv : libraries ]
24			be [ TargetLibstdc++ ]
25		;
26
27
28		Includes [ FGristFiles LibsolvSolver.cpp ]
29			: [ BuildFeatureAttribute libsolv : headers ] ;
30	}
31}
32