Get rid of -nolink flag uses.

This commit is contained in:
Alexander Gorshenev
2017-05-23 19:22:15 +03:00
committed by alexander-gorshenev
parent 380010d1ee
commit c93bddbba1
8 changed files with 26 additions and 34 deletions
+4 -2
View File
@@ -94,8 +94,10 @@ cinterop execution (see the `dumpParameters` task in `samles/csvparser/build.gra
// naitve library for linking.
nativeLibrary project.file('path/to/native/library/')
// Produce either a 'program' or a 'library' or a bare 'bitcode'.
produce 'library'
noStdLib() // Don't link with stdlib.
noLink() // Don't link, just produce a bitcode file.
enableOptimization() // Enable compiler optimizations.
// Arguments to be passed to a linker.
@@ -128,4 +130,4 @@ cinterop execution (see the `dumpParameters` task in `samles/csvparser/build.gra
link <files which will be linked with native stubs> // Additional files to link with native stubs.
}
}
}