configure: luac: autodetect host if not provided
Compare changes
+ 9
− 3
@@ -556,12 +556,18 @@ AC_ARG_WITH(contrib,
@@ -607,8 +613,8 @@ AS_IF([test -n "${CONTRIB_DIR}"], [
When building the luac contrib, it is built at
$(PREFIX)/../bin/$(cc -dumpmachine)-luac
When configuring, if --host
is not provided, the script looks for luac
at $(PREFIX)/../bin/-luac
as $host_alias
is empty, failing to lookup
luac.
Use (cc -dumpmachine)
to look for the LUA byte compiler when host is not
provided.
VideoLAN code repository instance