feed libfcgi.la instead of -lfcgi into the libtool invocation here

This commit is contained in:
steven 2009-10-11 19:47:25 +00:00
parent 78368fdc7f
commit 962322e5f2
2 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.11 2008/10/02 20:32:19 sthen Exp $
# $OpenBSD: Makefile,v 1.12 2009/10/11 19:47:25 steven Exp $
COMMENT= FastCGI Development Kit
DISTNAME= fcgi-2.4.0
PKGNAME= ${DISTNAME}p4
PKGNAME= ${DISTNAME}p5
CATEGORIES= www
SHARED_LIBS += fcgi 0.0 # .0.0
SHARED_LIBS += fcgi++ 1.0 # .1.0

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-libfcgi_Makefile_in,v 1.2 2008/06/01 20:39:26 simon Exp $
$OpenBSD: patch-libfcgi_Makefile_in,v 1.3 2009/10/11 19:47:25 steven Exp $
--- libfcgi/Makefile.in.orig Sun Jan 19 18:21:18 2003
+++ libfcgi/Makefile.in Fri May 23 07:12:26 2008
@@ -115,7 +115,7 @@ libfcgi___la_SOURCES = $(INCLUDE_FILES) \
@ -6,7 +6,7 @@ $OpenBSD: patch-libfcgi_Makefile_in,v 1.2 2008/06/01 20:39:26 simon Exp $
libfcgi___la_CFLAGS = @PTHREAD_CFLAGS@
-libfcgi___la_LDFLAGS = -lfcgi -rpath @libdir@
+libfcgi___la_LDFLAGS = ${LIBfcgi++_LTVERSION} -lfcgi -rpath @libdir@
+libfcgi___la_LDFLAGS = ${LIBfcgi++_LTVERSION} libfcgi.la -rpath @libdir@
subdir = libfcgi
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/fcgi_config.h