Compare commits

...

2 commits

Author SHA1 Message Date
Saleem Abdulrasool
dfef63bfa8
Merge a7aed6ba35 into d6bcd3fb0b 2024-11-20 21:26:37 -05: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" ]
}