]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Makefile.example: make default options more likely to work
authorViktor Szakats <commit@vsz.me>
Mon, 20 Oct 2025 11:23:34 +0000 (13:23 +0200)
committerViktor Szakats <commit@vsz.me>
Mon, 20 Oct 2025 11:52:58 +0000 (13:52 +0200)
- replace default libpaths with more common ones.
- drop Solaris network libs.

Closes #19161

docs/examples/Makefile.example

index 632c78dd13a792bdac62b9ed88ff75d2d507e815..4031aa2e4366b4e673de626164a4f7adf1b6c42d 100644 (file)
@@ -36,12 +36,12 @@ CFLAGS ?= -g
 # This should point to a directory that holds libcurl, if it is not in the
 # system's standard lib dir
 # We also set a -L to include the directory where we have the OpenSSL libraries
-LDFLAGS ?= -L/home/dast/lib -L/usr/local/ssl/lib
+LDFLAGS ?= -L/usr/lib -L/usr/local/lib
 
 # We need -lsocket and -lnsl when on Solaris
 # We need -lssl and -lcrypto when using libcurl with TLS support
 # We need -lpthread for the pthread example
-LIBS ?= -lsocket -lnsl -lssl -lcrypto
+LIBS ?= -lssl -lcrypto
 # We need -lcurl for the curl stuff
 LIBS := -lcurl $(LIBS)