Some fixes for linux.
This commit is contained in:
@@ -21,8 +21,6 @@ allprojects {
|
|||||||
sourceCompatibility = 1.5
|
sourceCompatibility = 1.5
|
||||||
targetCompatibility = 1.5
|
targetCompatibility = 1.5
|
||||||
|
|
||||||
configurations.compile.extendsFrom = []
|
|
||||||
|
|
||||||
tasks.withType(Upload) {
|
tasks.withType(Upload) {
|
||||||
repositories {
|
repositories {
|
||||||
mavenDeployer {
|
mavenDeployer {
|
||||||
@@ -39,7 +37,7 @@ allprojects {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
groovy 'org.codehaus.groovy:groovy:1.8.7'
|
testCompile 'org.codehaus.groovy:groovy:1.8.7'
|
||||||
}
|
}
|
||||||
|
|
||||||
def nativeHeadersDir = file("$buildDir/nativeHeaders")
|
def nativeHeadersDir = file("$buildDir/nativeHeaders")
|
||||||
@@ -176,7 +174,7 @@ libraries {
|
|||||||
cursesAmd64 {
|
cursesAmd64 {
|
||||||
sourceSets << cpp.sourceSets.curses
|
sourceSets << cpp.sourceSets.curses
|
||||||
spec {
|
spec {
|
||||||
baseName = 'native-platform-linux-amd64'
|
baseName = 'native-platform-curses-linux-amd64'
|
||||||
args("-m64", "-lcurses")
|
args("-m64", "-lcurses")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <locale.h>
|
||||||
#include <xlocale.h>
|
#include <xlocale.h>
|
||||||
#include <langinfo.h>
|
#include <langinfo.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user