diff --git a/maple2jax/libxc/build.jinja b/maple2jax/libxc/build.jinja index 9c66944..b3af7d2 100644 --- a/maple2jax/libxc/build.jinja +++ b/maple2jax/libxc/build.jinja @@ -59,10 +59,7 @@ genrule( cc_library( name = "{{ src }}c.obj", srcs = ["src_cc/{{ src }}c"], - features = select({ - "@platforms//os:windows": ["windows_export_all_symbols"], - "//conditions:default": [], - }), + features = ["windows_export_all_symbols"], deps = [ ":xc_inc", ":register", @@ -88,10 +85,7 @@ pybind_extension( "@platforms//os:windows": [], "//conditions:default": ["-std=c++14"], }), - features = select({ - "@platforms//os:windows": ["windows_export_all_symbols"], - "//conditions:default": [], - }), + features = ["windows_export_all_symbols"], deps = [ ":xc_inc", "@visit_struct",