From 60dc867f7336f2ec8888a2f7a60cd26ee22c65a2 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 11 Feb 2004 10:01:54 +0000 Subject: [PATCH] Separate libs. Update version --- yaz++-config.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/yaz++-config.in b/yaz++-config.in index fa55712..ef654bb 100644 --- a/yaz++-config.in +++ b/yaz++-config.in @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: yaz++-config.in,v 1.4 2002-11-14 14:41:07 adam Exp $ +# $Id: yaz++-config.in,v 1.5 2004-02-11 10:01:54 adam Exp $ yazppprefix=@prefix@ yaz_echo_cflags=no yaz_echo_libs=no @@ -69,16 +69,18 @@ while test $# -gt 0; do shift done +libs_short="-lyazcpp -lzoomcpp" + if test "$yaz_echo_source" = "yes"; then - YAZPPLIB="-L${yazpp_build_root}/lib/.libs -lyaz++ $yazlibs" - YAZPPLALIB="${yazpp_build_root}/lib/libyaz++.la $yazlalibs" + YAZPPLIB="-L${yazpp_build_root}/src/.libs ${libs_short} $yazlibs" + YAZPPLALIB="${yazpp_build_root}/src/libyazcpp.la $yazlalibs" YAZPPINC="@YAZINC@ -I${yazpp_src_root}/include" else if test "$yazppprefix" = "/usr"; then - YAZPPLIB="-lyaz++ $yazlibs" + YAZPPLIB="${libs_short} $yazlibs" else - YAZPPLIB="-L${yazppprefix}/lib -lyaz++ $yazlibs" + YAZPPLIB="-L${yazppprefix}/lib ${libs_short} $yazlibs" fi YAZPPLALIB=$YAZPPLIB if test "$yazppprefix" = "/usr"; then -- 1.7.10.4