[syslog-ng][patch] fixing: no static libol problem

Enrico Weigelt syslog-ng@lists.balabit.hu
Mon, 25 Oct 2004 17:32:26 +0200


--GID0FwUMdk1T2AWN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


hi folks,

at my site the latest libol doensnt produce a static library, 
which breaks syslog-ng build. here's a patch that fixes this by
linking dynamically.

cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact@metux.de
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------

--GID0FwUMdk1T2AWN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="libol-import.diff"

diff -ru syslog-ng-1.5.26.orig/PATCHING syslog-ng-1.5.26/PATCHING
--- syslog-ng-1.5.26.orig/PATCHING	Mon Oct 25 15:09:33 2004
+++ syslog-ng-1.5.26/PATCHING Oct 25 15:12:09 2004
@@ -0,0 +1,3 @@
+# Patched:	libol-static.diff		2004-10-25
+#	|	Enrico Weigelt <weigelt@metux.de>
+#	|	fixes a problem with libao not producing static libs
+
diff -ru syslog-ng-1.5.26.orig/configure syslog-ng-1.5.26/configure
--- syslog-ng-1.5.26.orig/configure	Mon Oct 25 14:58:07 2004
+++ syslog-ng-1.5.26/configure	Mon Oct 25 14:58:54 2004
@@ -2956,7 +2956,7 @@
 	fi
 	LIBOL_VERSION=`libol-config --version`
 	LIBOL_CFLAGS=`libol-config --cflags`
-	LIBOL_LIBS=`libol-config --static-libs`
+	LIBOL_LIBS=`libol-config --libs`
 	MAKE_CLASS="make_class"
 else
 	if test ! -x $with_libol/libol-config; then
@@ -2964,7 +2964,7 @@
 	fi
 	LIBOL_VERSION=`$with_libol/libol-config --version`
 	LIBOL_CFLAGS=`$with_libol/libol-config --local-cflags`
-	LIBOL_LIBS=`$with_libol/libol-config --local-static-libs`
+	LIBOL_LIBS=`$with_libol/libol-config --local-libs`
 	MAKE_CLASS="$with_libol/utils/make_class"
 fi
 
diff -ru syslog-ng-1.5.26.orig/configure.in syslog-ng-1.5.26/configure.in
--- syslog-ng-1.5.26.orig/configure.in	Mon Oct 25 14:58:07 2004
+++ syslog-ng-1.5.26/configure.in	Mon Oct 25 14:59:05 2004
@@ -228,7 +228,7 @@
 	fi
 	LIBOL_VERSION=`libol-config --version`
 	LIBOL_CFLAGS=`libol-config --cflags`
-	LIBOL_LIBS=`libol-config --static-libs`
+	LIBOL_LIBS=`libol-config --libs`
 	MAKE_CLASS="make_class"
 else
 	if test ! -x $with_libol/libol-config; then
@@ -236,7 +236,7 @@
 	fi
 	LIBOL_VERSION=`$with_libol/libol-config --version`
 	LIBOL_CFLAGS=`$with_libol/libol-config --local-cflags`
-	LIBOL_LIBS=`$with_libol/libol-config --local-static-libs`
+	LIBOL_LIBS=`$with_libol/libol-config --local-libs`
 	MAKE_CLASS="$with_libol/utils/make_class"
 fi
 

--GID0FwUMdk1T2AWN--