diff --git a/samples/ffi/http/BUILD.gn b/samples/ffi/http/BUILD.gn index b8b98e6fb73..8fb37192461 100644 --- a/samples/ffi/http/BUILD.gn +++ b/samples/ffi/http/BUILD.gn @@ -5,5 +5,7 @@ shared_library("fake_http") { sources = [ "lib/fake_http.cc" ] include_dirs = [ "." ] - ldflags = [ "-rdynamic" ] + if (!is_win) { + ldflags = [ "-rdynamic" ] + } }