File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ partial class Build {
73
73
InheritedShell ( $ "{ prepare } { GetCMakeToolchainFlag ( triple ) } ", buildDir ) . AssertZeroExitCode ( ) ;
74
74
InheritedShell ( build , buildDir ) . AssertZeroExitCode ( ) ;
75
75
76
+ InheritedShell ( $ "{ triple } -strip --strip-unneeded bin/libassimp.so.5", buildDir ) . AssertZeroExitCode ( ) ;
77
+
76
78
CopyAll ( ( buildDir / "bin" ) . GlobFiles ( "libassimp.so.5" ) , runtimes / rid / "native" ) ;
77
79
}
78
80
}
@@ -89,6 +91,8 @@ partial class Build {
89
91
InheritedShell ( $ "{ prepare } -DCMAKE_OSX_ARCHITECTURES={ arch } ", buildDir ) . AssertZeroExitCode ( ) ;
90
92
InheritedShell ( build , buildDir ) . AssertZeroExitCode ( ) ;
91
93
94
+ InheritedShell ( $ "strip -Sx bin/libassimp.5.dylib", buildDir ) . AssertZeroExitCode ( ) ;
95
+
92
96
CopyAll ( ( buildDir / "bin" ) . GlobFiles ( "libassimp.5.dylib" ) , runtimes / rid / "native" ) ;
93
97
}
94
98
}
You can’t perform that action at this time.
0 commit comments