Compare commits

...

2 commits

Author SHA1 Message Date
Saleem Abdulrasool
690e44e556
Merge a7aed6ba35 into 063cd68bf4 2024-11-20 11:47:03 -07:00
Saleem Abdulrasool
a7aed6ba35
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.
2024-10-02 13:04:24 -07:00

View file

@ -1,6 +1,10 @@
import("//Meta/gn/build/libs/third_party.gni")
third_party_dependency("simdutf") {
libs = [ "simdutf" ]
if (current_os == "win") {
libs = [ "simdutf.lib" ]
} else {
libs = [ "simdutf" ]
}
extra_public_configs = [ "//Meta/gn/build:pic" ]
}