vcpkg/ports/boost-build/0003-fix-emscripten.patch
Lily Wang ee1093857f
[boost-build] Fix wrong hash (#40041)
Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2024-07-23 17:59:06 -07:00

22 lines
655 B
Diff

diff --git a/src/tools/emscripten.jam b/src/tools/emscripten.jam
index 28175f6..c3c9968 100644
--- a/src/tools/emscripten.jam
+++ b/src/tools/emscripten.jam
@@ -7,12 +7,16 @@
import feature ;
import os ;
import toolset ;
+import generators ;
import common ;
import type ;
import version ;
feature.extend toolset : emscripten ;
+generators.override builtin.lib-generator : emscripten.prebuilt ;
+generators.override emscripten.searched-lib-generator : searched-lib-generator ;
+
feature.feature embind : off on : propagated ;
feature.feature closure : off on full : propagated ;
feature.feature link-optimization : off on full : propagated ;