[SCM] rtaudio/master: Honor LDFLAGS

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Tue Aug 4 22:56:43 UTC 2015


The following commit has been merged in the master branch:
commit 06b3b73c0f70be243993dfe6314a7319f95b29b9
Author: Sebastian Ramacher <sebastian at ramacher.at>
Date:   Wed Aug 5 00:51:42 2015 +0200

    Honor LDFLAGS

diff --git a/debian/patches/0001-buildsystem.patch b/debian/patches/0001-buildsystem.patch
index 25b3cb4..da92bfe 100644
--- a/debian/patches/0001-buildsystem.patch
+++ b/debian/patches/0001-buildsystem.patch
@@ -10,9 +10,9 @@ Forwarded: no
  Makefile.in |    9 +++------
  1 file changed, 3 insertions(+), 6 deletions(-)
 
---- rtaudio.orig/Makefile.in
-+++ rtaudio/Makefile.in
-@@ -7,29 +7,26 @@ LN = /bin/ln
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -7,30 +7,28 @@
  OBJECTS	= RtAudio.o @objects@
  
  LIBNAME = librtaudio
@@ -30,6 +30,7 @@ Forwarded: no
  DEFS     = @CPPFLAGS@
 -CFLAGS   = @CXXFLAGS@ -Iinclude -fPIC
 +CFLAGS   += @CXXFLAGS@ -Iinclude -fPIC
++LDFLAGS  = @LDFLAGS@
  
  PREFIX   = @prefix@
  
@@ -42,6 +43,8 @@ Forwarded: no
  $(LIBRARIES): $(OBJECTS)
 -	$(AR) ruv $(STATIC) $(OBJECTS)
 -	ranlib $(STATIC)
- 	$(CC) -fPIC @libflags@ $(OBJECTS) @LIBS@
+-	$(CC) -fPIC @libflags@ $(OBJECTS) @LIBS@
++	$(CC) -fPIC @libflags@ $(LDFLAGS) $(OBJECTS) @LIBS@
  	$(LN) -sf @sharedname@ $(SHARED)
  	$(LN) -sf @sharedname@ $(SHARED).$(MAJOR)
+ 

-- 
RtAudio packaging



More information about the pkg-multimedia-commits mailing list