solaris makefile fixes

Mon, 06 Apr 2015 16:36:25 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Mon, 06 Apr 2015 16:36:25 +0200
changeset 98
59656cd16411
parent 97
09fbefc0e6a9
child 99
b9a6af0ae41a

solaris makefile fixes

make/solaris.mk file | annotate | diff | comparison | revisions
src/server/plugins/java/Makefile file | annotate | diff | comparison | revisions
--- a/make/solaris.mk	Sun Aug 17 15:15:32 2014 +0200
+++ b/make/solaris.mk	Mon Apr 06 16:36:25 2015 +0200
@@ -29,7 +29,7 @@
 
 # compiler and linker flags
 CFLAGS += -DSOLARIS
-LDFLAGS += -lsendfile -lposix4 -lpthread -ldl -lm -lxerces-c -lldap
+LDFLAGS += -lsocket -lnsl -lsendfile -lposix4 -lpthread -ldl -lm -lxerces-c -lldap
 
 PLUGINS = java
 
--- a/src/server/plugins/java/Makefile	Sun Aug 17 15:15:32 2014 +0200
+++ b/src/server/plugins/java/Makefile	Mon Apr 06 16:36:25 2015 +0200
@@ -60,7 +60,7 @@
 	$(CC) -o $(NSAPI_JNI_LIB) $(JNI_OBJS) $(LDFLAGS)
 
 $(JAVA_WSRT): $(JAVASRC)
-	ant compile jar
+	ant -Dbuild.compiler=javac1.7 compile jar
 
 
 ../../../../build/server/plugins/java/%.o: %.c

mercurial