File libmatroska-heed-ldflags.diff of Package libmatroska

From: Jan Engelhardt <jengelh@inai.de>
Date: 2014-08-06 10:43:22.819663128 +0200

This hand-written Makefile ignored LDFLAGS. _NOT_ nice.
---
 make/linux/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: libmatroska-1.4.1/make/linux/Makefile
===================================================================
--- libmatroska-1.4.1.orig/make/linux/Makefile
+++ libmatroska-1.4.1/make/linux/Makefile
@@ -104,7 +104,7 @@ $(LIBRARY): $(objects)
 	$(RANLIB) $@
 
 $(LIBRARY_SO): $(objects_so)
-	$(CXX) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so) -lebml
+	$(CXX) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so) ${LINKFLAGS} -lebml
 	rm -f $(LIBRARY_SO)
 	ln -s $(LIBRARY_SO_VER) $(LIBRARY_SO)
 
openSUSE Build Service is sponsored by