photon.framework now supports static and dynamic builds

This commit is contained in:
Max Wash
2020-11-24 14:46:24 +00:00
parent 8991e21636
commit 439a18535f
2 changed files with 9 additions and 2 deletions

View File

@@ -6,4 +6,11 @@ binary_dir=$3
crt_files=$(find $binary_dir -name "crt*.o")
$bundle_prog framework add-binaries -f $framework_path $crt_files
$bundle_prog framework add-binaries \
-f $framework_path \
-m static \
$crt_files
$bundle_prog framework add-binaries \
-f $framework_path \
$crt_files