uclibc: fix two more regressions introduced in 1.0.18
[buildroot-gz.git] / package / libfcgi / 0002-link-against-libfcgi-la.patch
blob8a5973ac5bd1f017b65e53ada31b21695e7ac348
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
14 @@ -23,5 +23,6 @@
15 $(INCLUDEDIR)/fcgio.h \
16 fcgio.cpp
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@