From d22001283a49ad723da0023039c904dc6db7c5a0 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 2 Oct 2018 21:14:45 +0200 Subject: Fix bundle for non system libraries --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.cpp') 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 bundleResult = exec(cmd.c_str(), true); if(!bundleResult) -- cgit v1.2.3