From: Daniel Stenberg Date: Wed, 11 Apr 2001 10:03:14 +0000 (+0000) Subject: added Linux hints X-Git-Tag: upstream/7.37.1~16838 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a086e99bae650dc74d36664a5b11860659d5b113;p=platform%2Fupstream%2Fcurl.git added Linux hints --- diff --git a/java/Makefile b/java/Makefile index e05ea60..1c69e6e 100644 --- a/java/Makefile +++ b/java/Makefile @@ -6,7 +6,9 @@ OBJS = javacurl.o CC = gcc CFLAGS = -c CPPFLAGS = -I/usr/j2se/include -I/usr/local/include -I/usr/j2se/include/solaris -LDFLAGS = -lcurl -ldl -L/usr/local/ssl/lib -lssl -lcrypto + +# Linux might use -shared -Wl,-soname,libnative.so instead of -G +LDFLAGS = -G -lcurl -ldl -L/usr/local/ssl/lib -lssl -lcrypto all: CurlGlue.h CurlGlue.class javacurl.o $(TARGET) test.class @@ -27,7 +29,7 @@ CurlGlue.class: CurlGlue.java javac $< $(TARGET): $(OBJS) - $(CC) -G -o $(TARGET) $(LDFLAGS) $(OBJS) + $(CC) -o $(TARGET) $(LDFLAGS) $(OBJS) clean: rm -f javacurl.o CurlGlue.h CurlGlue.class