diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2022-05-25 11:13:32 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2022-05-25 11:13:32 +0200 |
commit | de75ee59d9af36621d545b560d6b3415a9a2a40a (patch) | |
tree | 63e9beed6dae5371c7caf96454f64f27f73ef483 | |
parent | 74cd15a70612c9972b68fe8fbfb4c0b9959955f2 (diff) |
Add /usr/local/{bin|include} to the default include and lib paths
-rwxr-xr-x | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -15,6 +15,8 @@ LIBS = -lncurses | |||
15 | LIBS += -lreadline | 15 | LIBS += -lreadline |
16 | 16 | ||
17 | CFLAGS += -Wall -Os | 17 | CFLAGS += -Wall -Os |
18 | CFLAGS += -I/usr/local/include | ||
19 | LDFLAGS += -L/usr/local/lib | ||
18 | 20 | ||
19 | ## use this line when you've got an readline before 4.(x|2) | 21 | ## use this line when you've got an readline before 4.(x|2) |
20 | #CFLAGS += -DOLDREADLINE | 22 | #CFLAGS += -DOLDREADLINE |
@@ -23,11 +25,11 @@ CFLAGS += -Wall -Os | |||
23 | # if you can't modify this Makefile | 25 | # if you can't modify this Makefile |
24 | CFLAGS += $(OLDREADLINE) | 26 | CFLAGS += $(OLDREADLINE) |
25 | 27 | ||
26 | ##### Enable this for using the OpenSSL library | 28 | ##### Enable this for enabling the OpenSSL library |
27 | CFLAGS += -DTLS_LIB_OPENSSL | 29 | CFLAGS += -DTLS_LIB_OPENSSL |
28 | LIBS += -lssl -lcrypto | 30 | LIBS += -lssl -lcrypto |
29 | 31 | ||
30 | ##### Enable this for using the mbedTLS library | 32 | ##### Enable this for enabling the mbedTLS library |
31 | #CFLAGS += -DTLS_LIB_MBEDTLS | 33 | #CFLAGS += -DTLS_LIB_MBEDTLS |
32 | #LIBS += -lmbedx509 -lmbedtls -lmbedcrypto | 34 | #LIBS += -lmbedx509 -lmbedtls -lmbedcrypto |
33 | 35 | ||
@@ -36,7 +38,6 @@ LIBS += -lssl -lcrypto | |||
36 | #CFLAGS+= -arch x86_64 -Wno-deprecated-declarations | 38 | #CFLAGS+= -arch x86_64 -Wno-deprecated-declarations |
37 | #CFLAGS+= -arch i386 -Wno-deprecated-declarations | 39 | #CFLAGS+= -arch i386 -Wno-deprecated-declarations |
38 | #CFLAGS += -I/usr/local/ssl/include -L/usr/local/ssl/lib | 40 | #CFLAGS += -I/usr/local/ssl/include -L/usr/local/ssl/lib |
39 | #CFLAGS += -I/usr/local/include -L/usr/local/lib | ||
40 | #CFLAGS += -I/usr/pkg/include -L/usr/pkg/lib | 41 | #CFLAGS += -I/usr/pkg/include -L/usr/pkg/lib |
41 | #LDFLAGS += -L"/usr/local/opt/openssl@1.1/lib" | 42 | #LDFLAGS += -L"/usr/local/opt/openssl@1.1/lib" |
42 | #CFLAGS += -I../readline-6.3 | 43 | #CFLAGS += -I../readline-6.3 |