Makefile.example: make default options more likely to work

- replace default libpaths with more common ones.
- drop Solaris network libs.

Closes #19161
This commit is contained in:
Viktor Szakats 2025-10-20 13:23:34 +02:00
parent 97dd1da8d0
commit a041bf6ca2
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View 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)