blob: 8ee5e3c3d286e2f6699ee8ec0ef9233eb18cf869 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- 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
|