mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
Meta: Account for platform specific linking
On Windows, similar to AIX, we would link against the import library rather than the actual library (at least when doing dynamic linking). Adjust the `libs` setting to allow linking properly on Windows. This reduces the number of undefined symbols when linking AK to 1.
This commit is contained in:
parent
768d814ffd
commit
a7aed6ba35
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,10 @@
|
||||||
import("//Meta/gn/build/libs/third_party.gni")
|
import("//Meta/gn/build/libs/third_party.gni")
|
||||||
|
|
||||||
third_party_dependency("simdutf") {
|
third_party_dependency("simdutf") {
|
||||||
libs = [ "simdutf" ]
|
if (current_os == "win") {
|
||||||
|
libs = [ "simdutf.lib" ]
|
||||||
|
} else {
|
||||||
|
libs = [ "simdutf" ]
|
||||||
|
}
|
||||||
extra_public_configs = [ "//Meta/gn/build:pic" ]
|
extra_public_configs = [ "//Meta/gn/build:pic" ]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue