diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-10-02 21:14:45 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:33 +0200 |
commit | d22001283a49ad723da0023039c904dc6db7c5a0 (patch) | |
tree | 4ec8b61a33b57ad2ccec5cc1309ea1f927620ef2 /src/main.cpp | |
parent | 7a483ac5f0e483dd9dff2a22ee4f0480ab75f039 (diff) |
Fix bundle for non system libraries
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index f33b1f6..119aafb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1071,6 +1071,7 @@ static int packageProject(int argc, const _tinydir_char_t **argv) SibsConfig sibsConfig(compiler, projectPath, OPT_LEV_RELEASE, false); sibsConfig.showWarnings = true; sibsConfig.packaging = packagingType == PackagingType::STATIC; + sibsConfig.bundling = packagingType == PackagingType::BUNDLE; int result = buildProject(projectPath, projectConfFilePath, sibsConfig); if(result != 0) return result; @@ -1087,6 +1088,7 @@ static int packageProject(int argc, const _tinydir_char_t **argv) { string packagePath = toUtf8(projectPath + TINYDIR_STRING("/sibs-build/package")); string executablePath = toUtf8(projectPath + TINYDIR_STRING("/sibs-build/release/") + sibsConfig.getPackageName()); + printf("Creating a package from project and dependencies...\n"); FileString cmd = "python3 \"" + packageScriptPath + "\" \"" + executablePath + "\" \"" + packagePath + "\""; Result<ExecResult> bundleResult = exec(cmd.c_str(), true); if(!bundleResult) |