1 Properly link libfcgi++ against libfcgi
3 We cannot directly use -lfcgi to link libfcgi++ against libfcgi,
4 because libfcgi is not installed at this time. Instead, we should rely
5 on libtool doing the right thing, by specifying libfcgi.la in
6 libfcgi++ LIBADD variable.
8 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 Index: b/libfcgi/Makefile.am
11 ===================================================================
12 --- a/libfcgi/Makefile.am
13 +++ b/libfcgi/Makefile.am
15 $(INCLUDEDIR)/fcgio.h \
17 libfcgi___la_CFLAGS = @PTHREAD_CFLAGS@
18 -libfcgi___la_LDFLAGS = -lfcgi -rpath @libdir@
19 +libfcgi___la_LIBADD = libfcgi.la
20 +libfcgi___la_LDFLAGS = -rpath @libdir@