WebPositive: fix linking with static libraries

Some symbols were available because they were reexported by haikuwebkit
1.8.2, but they won't be exported anymore in the next releases. So we
need to link to libnetservices.a directly, and link to it before the .so
files to make sure the symbols from the static library are used.
This commit is contained in:
Adrien Destugues 2021-11-01 18:12:13 +01:00
parent 264451d95a
commit 3457006a9a

View File

@ -70,10 +70,10 @@ for architectureObject in [ MultiArchSubDirSetup ] {
Application WebPositive : Application WebPositive :
$(sources) $(sources)
: :
bnetapi [ MultiArchDefaultGristFiles libnetservices.a libcolumnlistview.a ]
[ BuildFeatureAttribute webkit : libraries ] [ BuildFeatureAttribute webkit : libraries ]
[ TargetLibstdc++ ] localestub shared [ TargetLibstdc++ ] localestub shared
[ MultiArchDefaultGristFiles libcolumnlistview.a ] be network tracker translation
be network libnetservices.a tracker translation
: :
WebPositive.rdef WebPositive.rdef
; ;