blob: c304d0c7f79c6768939656165da4ca8c6259c448 [file] [log] [blame] [edit]
--- curl-7.61.0/lib/Makefile.am.orig 2018-07-26 11:45:27.548145800 +0300
+++ curl-7.61.0/lib/Makefile.am 2018-07-26 11:49:05.823729200 +0300
@@ -111,7 +111,8 @@
endif
if USE_CPPFLAG_CURL_STATICLIB
-libcurl_la_CPPFLAGS_EXTRA += -DCURL_STATICLIB
+libcurl_la_CPPFLAGS_EXTRA += -DCURL_STATICLIB -DNGHTTP2_STATICLIB
+libcurl_la_CFLAGS_EXTRA += -DNGHTTP2_STATICLIB
endif
if DOING_CURL_SYMBOL_HIDING
@@ -123,9 +123,9 @@
libcurl_la_LDFLAGS = $(AM_LDFLAGS) $(libcurl_la_LDFLAGS_EXTRA) $(LDFLAGS) $(LIBCURL_LIBS)
libcurl_la_CFLAGS = $(AM_CFLAGS) $(libcurl_la_CFLAGS_EXTRA)
-libcurlu_la_CPPFLAGS = $(AM_CPPFLAGS) -DCURL_STATICLIB -DUNITTESTS
+libcurlu_la_CPPFLAGS = $(AM_CPPFLAGS) -DCURL_STATICLIB -DNGHTTP2_STATICLIB -DUNITTESTS
libcurlu_la_LDFLAGS = $(AM_LDFLAGS) -static $(LIBCURL_LIBS)
-libcurlu_la_CFLAGS = $(AM_CFLAGS)
+libcurlu_la_CFLAGS = $(AM_CFLAGS) -DNGHTTP2_STATICLIB
# Makefile.inc provides the CSOURCES and HHEADERS defines
include Makefile.inc