From ff6b013f35539d3f6c016e26684a19a1171d09af Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 19 Nov 2006 01:10:01 +0000 Subject: Use pkg-config to detect lib paths - thanks darix we've been looking for this for ages :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5772 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_openssl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index bfaf2f675..578ffce00 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -17,8 +17,8 @@ #include "ssl_cert.h" /* $ModDesc: Provides SSL support for clients */ -/* $CompileFlags: -I/usr/include -I/usr/local/include */ -/* $LinkerFlags: -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -L/usr/lib -Wl,--rpath -Wl,/usr/lib -lssl */ +/* $CompileFlags: `pkg-config --cflags openssl` */ +/* $LinkerFlags: `pkg-config --libs openssl` */ -- cgit v1.2.3