зеркало из https://github.com/github/ruby.git
[wasm-pic] Add `LDSHARED` definition for WASI platform
We are going to add dynamic linking support for WASI platform. The `LDSHARED` definition is used to link shared libraries for building ruby binaries and extensions.
This commit is contained in:
Родитель
57f014b2fa
Коммит
6e2880b388
|
@ -3157,6 +3157,7 @@ AC_SUBST(EXTOBJS)
|
||||||
[hiuxmpp], [ : ${LDSHARED='$(LD) -r'}],
|
[hiuxmpp], [ : ${LDSHARED='$(LD) -r'}],
|
||||||
[atheos*], [ : ${LDSHARED='$(CC) -shared'}
|
[atheos*], [ : ${LDSHARED='$(CC) -shared'}
|
||||||
rb_cv_dlopen=yes],
|
rb_cv_dlopen=yes],
|
||||||
|
[wasi*], [ : ${LDSHARED='$(LD) -shared -Xlinker --export-dynamic'}],
|
||||||
[ : ${LDSHARED='$(LD)'}])
|
[ : ${LDSHARED='$(LD)'}])
|
||||||
AC_MSG_RESULT($rb_cv_dlopen)
|
AC_MSG_RESULT($rb_cv_dlopen)
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче