libvalhalla (1.0.1-2) no-static-libvalhalla-test.patch

Summary

 Makefile |    2 ++
 1 file changed, 2 insertions(+)

    
download this patch

Patch contents

Description: Don't statically link libvalhalla-test if both static and shared build is requested.
Author: Mathieu Schroeter <mathieu.schroeter@mycable.ch>
Forwarded: yes
Origin: upstream, http://hg.geexbox.org/libvalhalla/diff/55edc4253e7a/Makefile

Index: libvalhalla-1.0.1/Makefile
===================================================================
--- libvalhalla-1.0.1.orig/Makefile	2010-01-26 10:32:58.000000000 +0100
+++ libvalhalla-1.0.1/Makefile	2010-01-26 12:05:26.000000000 +0100
@@ -14,8 +14,10 @@
 override LDFLAGS += -Lsrc -lvalhalla
 
 ifeq ($(BUILD_STATIC),yes)
+ifeq ($(BUILD_SHARED),no)
   override LDFLAGS += $(EXTRALIBS)
 endif
+endif
 
 DISTFILE = libvalhalla-$(VERSION).tar.bz2