Commit 989a5303 authored by Chinmay Garde's avatar Chinmay Garde

Don't avoid linking with libSystem to work around issue in dyld. (#4241)

parent 51d4ab33
......@@ -258,7 +258,7 @@ String _buildAotSnapshot(
runCheckedSync(genSnapshotCmd, truncateCommand: true);
// On iOS, we use Xcode to compile the snapshot into a static library that the
// On iOS, we use Xcode to compile the snapshot into a dynamic library that the
// end-developer can link into their app.
if (platform == TargetPlatform.ios) {
printStatus('Building app.so...');
......@@ -302,7 +302,6 @@ String _buildAotSnapshot(
..addAll(commonBuildOptions)
..addAll(<String>[
'-dynamiclib',
'-nostdlib',
'-Xlinker', '-rpath', '-Xlinker', '@executable_path/Frameworks',
'-Xlinker', '-rpath', '-Xlinker', '@loader_path/Frameworks',
'-install_name', '@rpath/app.so',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment