12 lines
355 B
Diff
12 lines
355 B
Diff
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -331,6 +331,8 @@
|
||
|
if (WITH_RUNTIME_LIBRARY)
|
||
|
if(WIN32)
|
||
|
set(LFORTRAN_PATH "${CMAKE_BINARY_DIR}/src/bin/lfortran.exe")
|
||
|
+ elseif(CMAKE_CROSSCOMPILING)
|
||
|
+ set(LFORTRAN_PATH "@TERMUX_PKG_HOSTBUILD_DIR@/src/bin/lfortran")
|
||
|
else()
|
||
|
set(LFORTRAN_PATH "${CMAKE_BINARY_DIR}/src/bin/lfortran")
|
||
|
endif()
|