File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -103,16 +103,19 @@ impl Build {
103
103
. arg ( "no-comp" )
104
104
. arg ( "no-zlib" )
105
105
. arg ( "no-zlib-dynamic" )
106
+ // MUSL doesn't implement some of the libc functions that the async
107
+ // stuff depends on, and we don't bind to any of that in any case.
108
+ . arg ( "no-async" ) ;
109
+
110
+ if target. contains ( "x86_64-unknown-linux-gnu" ) {
106
111
// This actually fails to compile on musl (it needs linux/version.h
107
112
// right now) but we don't actually need this most of the time. This
108
113
// is intended for super-configurable backends and whatnot
109
114
// apparently but the whole point of this script is to produce a
110
115
// "portable" implementation of OpenSSL, so shouldn't be any harm in
111
116
// turning this off.
112
- . arg ( "no-engine" )
113
- // MUSL doesn't implement some of the libc functions that the async
114
- // stuff depends on, and we don't bind to any of that in any case.
115
- . arg ( "no-async" ) ;
117
+ configure. arg ( "no-engine" ) ;
118
+ }
116
119
117
120
// On Android it looks like not passing no-stdio may cause a build
118
121
// failure (#13), but most other platforms need it for things like
You can’t perform that action at this time.
0 commit comments