752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
|
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
|
-
+
|
}
if {[opt-bool static]} {
# Linux can only infer the dependency on pthread from OpenSSL when
# doing dynamic linkage.
define-append LIBS -lpthread
}
if {[get-define EMSDK_ENV] ne ""} {
if {[get-define EMSDK_HOME] ne ""} {
define EMCC_WRAPPER $::autosetup(dir)/../tools/emcc.sh
make-template tools/emcc.sh.in
catch {exec chmod u+x tools/emcc.sh}
} else {
define EMCC_WRAPPER ""
catch {exec rm -f tools/emcc.sh}
}
|