Imported Upstream version 1.46.0
[platform/upstream/nghttp2.git] / lib / Makefile.am
index 24a5bd6..1e1f248 100644 (file)
@@ -27,6 +27,7 @@ EXTRA_DIST = Makefile.msvc CMakeLists.txt version.rc.in
 AM_CFLAGS = $(WARNCFLAGS) $(EXTRACFLAG)
 AM_CPPFLAGS = -I$(srcdir)/includes -I$(builddir)/includes -DBUILDING_NGHTTP2 \
        @DEFS@
+AM_LDFLAGS = @LIBTOOL_LDFLAGS@
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libnghttp2.pc
@@ -68,5 +69,5 @@ HFILES = nghttp2_pq.h nghttp2_int.h nghttp2_map.h nghttp2_queue.h \
        nghttp2_debug.h
 
 libnghttp2_la_SOURCES = $(HFILES) $(OBJECTS)
-libnghttp2_la_LDFLAGS = -no-undefined \
+libnghttp2_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined \
        -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)