yazpp-config daels with zoom for in-source
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 13 Nov 2012 09:04:56 +0000 (10:04 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 13 Nov 2012 09:04:56 +0000 (10:04 +0100)
yazpp-config.in

index 61a532c..c32146c 100644 (file)
@@ -78,8 +78,13 @@ YAZPPLALIB="$yazlalibs"
 YAZPPLIB="$yazlibs"
 
 if test "$echo_source" = "yes"; then
-    YAZPPLIB="-L${build_root}/src/.libs -lyazpp $YAZPPLIB"
-    YAZPPLALIB="${build_root}/src/libyazpp.la $YAZPPLALIB"
+    if test "$echo_zoom" = "yes"; then
+        YAZPPLIB="-L${build_root}/zoom/.libs -lzoomzpp $YAZPPLIB"
+        YAZPPLALIB="${build_root}/zoom/libzoompp.la $YAZPPLALIB"
+    else
+        YAZPPLIB="-L${build_root}/src/.libs -lyazpp $YAZPPLIB"
+        YAZPPLALIB="${build_root}/src/libyazpp.la $YAZPPLALIB"
+    fi
     YAZPPINC="$YAZPPINC -I${src_root}/include"
 else
     if test "$echo_zoom" = "yes"; then