[SCM] lv2file/UPSTREAM.trunk: Use LDLIBS instead of LDFLAGS (Thanks Ilya Barygin)

jeremysalwen-guest at users.alioth.debian.org jeremysalwen-guest at users.alioth.debian.org
Sat Dec 24 09:58:09 UTC 2011


The following commit has been merged in the UPSTREAM.trunk branch:
commit beee8e247fb0cb92bb44e9899e9709c664510559
Author: Jeremy Salwen <jeremysalwen at gmail.com>
Date:   Sun Jun 26 17:04:49 2011 -0400

    Use LDLIBS instead of LDFLAGS (Thanks Ilya Barygin)

diff --git a/Makefile b/Makefile
index 5da1a19..27b8a0d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 CFLAGS = -O3 -Wall --std=c99 `pkg-config --cflags argtable2 sndfile slv2`
-LDFLAGS = `pkg-config --libs argtable2 sndfile slv2` -lm
+LDLIBS = `pkg-config --libs argtable2 sndfile slv2` -lm
 BINDIR = $(DESTDIR)/usr/bin
 INSTALL_PROGRAM = install
 
@@ -8,7 +8,7 @@ all: lv2file
 lv2file.o: lv2file.c
 	$(CC) -c $(CFLAGS) -o lv2file.o lv2file.c
 lv2file: lv2file.o
-	$(CC) $(LDFLAGS) lv2file.o -o lv2file
+	$(CC) $(LDFLAGS) lv2file.o -o lv2file $(LDLIBS)
 tarball: lv2file
 	cd ..;tar -czvf lv2file.tar.gz lv2file/*;
 .PHONY: install uninstall clean

-- 
lv2file packaging



More information about the pkg-multimedia-commits mailing list