diff options
-rw-r--r-- | lib/buildsystem.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/buildsystem.sh b/lib/buildsystem.sh index ef668f7..b45d3d5 100644 --- a/lib/buildsystem.sh +++ b/lib/buildsystem.sh @@ -37,6 +37,8 @@ oh_buildsystems_init() [ -z "${_OH_BUILDSYSTEM_BUILD_DIR}" ] && \ _OH_BUILDSYSTEM_BUILD_DIR="${PWD}/src" + [ -z "${_OH_BUILDSYSTEM_DESTDIR}" ] && \ + _OH_BUILDSYSTEM_DESTDIR="${PWD}/dest" [ -z "${_OH_BUILDSYSTEM_SYSTEM}" ] && \ _OH_BUILDSYSTEM_SYSTEM='' } @@ -57,6 +59,9 @@ oh_set_buildsystem_option() 'build-dir') _OH_BUILDSYSTEM_BUILD_DIR="${_ohsbso_value}" ;; + 'destdir') + _OH_BUILDSYSTEM_DESTDIR="${_ohsbso_value}" + ;; 'build-system') _OH_BUILDSYSTEM_SYSTEM="${_ohsbso_value}" ;; |