jdk/makefiles/CompileDemos.gmk
changeset 15676 291a66e841c2
parent 15126 bceb690ccf35
child 16636 1cc691bcfe50
--- a/jdk/makefiles/CompileDemos.gmk	Mon Feb 18 10:48:51 2013 +0100
+++ b/jdk/makefiles/CompileDemos.gmk	Mon Feb 18 11:26:23 2013 +0100
@@ -421,6 +421,7 @@
 		CFLAGS:=$(CFLAGS_JDKLIB) $(SHARED_LIBRARY_FLAGS) \
                         -I$(JDK_OUTPUTDIR)/democlasses/jni/Poller, \
 		LDFLAGS:=$(LDFLAGS_JDKLIB), \
+		LDFLAGS_SUFFIX_solaris:=-lc,\
 		OBJECT_DIR:=$(JDK_OUTPUTDIR)/demoobjs/jni/Poller,\
                 OUTPUT_DIR:=$(JDK_OUTPUTDIR)/demoobjs, \
 		LIBRARY:=Poller))