diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2022-10-05 18:02:57 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2022-10-23 17:25:51 +0100 |
commit | ff8f85601c7936a8adc9a2f43aff206dc5bd9b20 (patch) | |
tree | 943995331218d799900dc0df02b870b962c6ca3c | |
parent | bbb9b4ab7238fac41a06be62a6d3c4d5fc82e829 (diff) | |
download | netsurf-ff8f85601c7936a8adc9a2f43aff206dc5bd9b20.tar.gz netsurf-ff8f85601c7936a8adc9a2f43aff206dc5bd9b20.tar.bz2 |
HACK: USE LOCAL LIBCURL
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -56,7 +56,7 @@ VQ=@ # Override this only if the host compiler is called something different BUILD_CC := cc -BUILD_CFLAGS = -g -W -Wall -Wundef -Wpointer-arith -Wcast-align \ +BUILD_CFLAGS = -I/usr/local -g -W -Wall -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wmissing-declarations -Wuninitialized \ -Wno-unused-parameter @@ -147,7 +147,7 @@ $(eval $(call pkg_config_find_and_add,libdom,DOM)) $(eval $(call pkg_config_find_and_add,libnsutils,nsutils)) # Common libraries without pkg-config support -LDFLAGS += -lz +LDFLAGS += -L/usr/local -lz # Optional libraries with pkgconfig @@ -324,6 +324,7 @@ endif OBJECTS := $(sort $(addprefix $(OBJROOT)/,$(subst /,_,$(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(patsubst %.m,%.o,$(patsubst %.s,%.o,$(SOURCES)))))))) + # Include directory flags IFLAGS = $(addprefix -I,$(INCLUDE_DIRS)) |