Support building libpackage-add-on-libsolv.so for secondary arch

This commit is contained in:
Ingo Weinhold 2013-08-05 23:24:28 +02:00
parent 779b940a74
commit c591ff14a1

View File

@ -2,23 +2,30 @@ SubDir HAIKU_TOP src kits package solver ;
# add-on implementing a libsolv based BSolver
UseBuildFeatureHeaders libsolv ;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ] {
on $(architectureObject) {
local libsolvHeaders = [ BuildFeatureAttribute libsolv : headers : path ] ;
UseHeaders [ FDirName $(libsolvHeaders) solv ] ;
UseBuildFeatureHeaders libsolv ;
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
:
LibsolvSolver.cpp
:
package
[ BuildFeatureAttribute libsolv : libraries ]
be $(TARGET_LIBSTDC++)
;
Includes [ FGristFiles LibsolvSolver.cpp ]
: [ BuildFeatureAttribute libsolv : headers ] ;
Includes [ FGristFiles LibsolvSolver.cpp ]
: [ BuildFeatureAttribute libsolv : headers ] ;
}
}