diff --git a/GRADLE_PLUGIN.md b/GRADLE_PLUGIN.md index 932ca908b91..8de63c200e7 100644 --- a/GRADLE_PLUGIN.md +++ b/GRADLE_PLUGIN.md @@ -101,7 +101,7 @@ cinterop execution (see the `dumpParameters` task in `samles/csvparser/build.gra // Arguments to be passed to a linker. linkerOpts 'Some linker opts' - // Target platform. Available values: "osx", "linux", "ios", "raspberrypi". + // Target platform. Available values: "macbook", "linux", "iphone", "raspberrypi". target 'macbook' // Language and API version. diff --git a/samples/tetris/build.gradle b/samples/tetris/build.gradle index 0e399881c9b..2290a74ce26 100644 --- a/samples/tetris/build.gradle +++ b/samples/tetris/build.gradle @@ -16,7 +16,10 @@ apply plugin: 'konan' konanInterop { sdlMacbook { defFile 'sdl.def' - includeDirs '/Library/Frameworks/SDL2.framework/Headers', "${System.getProperty("user.home")}/Library/Frameworks/SDL2.framework/Headers" + includeDirs '/Library/Frameworks/SDL2.framework/Headers', + "${System.getProperty("user.home")}/Library/Frameworks/SDL2.framework/Headers", + '/opt/local/include/SDL2', + '/usr/local/include/SDL2' target 'macbook' }