Fix names, samples (#426)

This commit is contained in:
Nikolay Igotti
2017-03-30 19:41:15 +03:00
committed by GitHub
parent d34e5205ae
commit a368818863
13 changed files with 52 additions and 49 deletions
+1 -1
View File
@@ -5,6 +5,6 @@ To build use `./build.sh` script without arguments (or specify `TARGET` variable
To run use
./Curl.kexe https://jetbrains.com
./Curl.kexe https://www.jetbrains.com
It will perform HTTP get and print out the data obtained.
+2 -2
View File
@@ -23,5 +23,5 @@ LINKER_ARGS=${!var}
var=COMPILER_ARGS_${TARGET}
COMPILER_ARGS=${!var} # add -opt for an optimized build.
interop -copt:"$CFLAGS" -copt:-I. -def:$DIR/libcurl.def -target:$TARGET || exit 1
konanc -target $TARGET src libcurl -nativelibrary libcurlstubs.bc -linkerArgs "$LINKER_ARGS" -o Curl.kexe || exit 1
cinterop -copt:"$CFLAGS" -copt:-I. -def:$DIR/libcurl.def -target:$TARGET -o:libcurl.bc || exit 1
konanc -target $TARGET src -library libcurl.bc -linkerArgs "$LINKER_ARGS" -o Curl.kexe || exit 1