Support building libpackage-add-on-libsolv.so for secondary arch
This commit is contained in:
parent
779b940a74
commit
c591ff14a1
@ -2,23 +2,30 @@ SubDir HAIKU_TOP src kits package solver ;
|
|||||||
|
|
||||||
# add-on implementing a libsolv based BSolver
|
# add-on implementing a libsolv based BSolver
|
||||||
|
|
||||||
UseBuildFeatureHeaders libsolv ;
|
local architectureObject ;
|
||||||
|
for architectureObject in [ MultiArchSubDirSetup ] {
|
||||||
|
on $(architectureObject) {
|
||||||
|
|
||||||
local libsolvHeaders = [ BuildFeatureAttribute libsolv : headers : path ] ;
|
UseBuildFeatureHeaders libsolv ;
|
||||||
UseHeaders [ FDirName $(libsolvHeaders) solv ] ;
|
|
||||||
|
|
||||||
UsePrivateHeaders shared ;
|
local libsolvHeaders
|
||||||
|
= [ BuildFeatureAttribute libsolv : headers : path ] ;
|
||||||
|
UseHeaders [ FDirName $(libsolvHeaders) solv ] ;
|
||||||
|
|
||||||
|
UsePrivateHeaders shared ;
|
||||||
|
|
||||||
|
SharedLibrary
|
||||||
|
[ MultiArchDefaultGristFiles libpackage-add-on-libsolv.so ]
|
||||||
|
:
|
||||||
|
LibsolvSolver.cpp
|
||||||
|
:
|
||||||
|
package
|
||||||
|
[ BuildFeatureAttribute libsolv : libraries ]
|
||||||
|
be $(TARGET_LIBSTDC++)
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
SharedLibrary libpackage-add-on-libsolv.so
|
Includes [ FGristFiles LibsolvSolver.cpp ]
|
||||||
:
|
: [ BuildFeatureAttribute libsolv : headers ] ;
|
||||||
LibsolvSolver.cpp
|
}
|
||||||
:
|
}
|
||||||
package
|
|
||||||
[ BuildFeatureAttribute libsolv : libraries ]
|
|
||||||
be $(TARGET_LIBSTDC++)
|
|
||||||
;
|
|
||||||
|
|
||||||
|
|
||||||
Includes [ FGristFiles LibsolvSolver.cpp ]
|
|
||||||
: [ BuildFeatureAttribute libsolv : headers ] ;
|
|
||||||
|
Loading…
Reference in New Issue
Block a user