openbsd-ports/audio/audacity/patches/patch-lib-src_libresample_Makefile_in
ajacoutot 5e971a5d99 - update to 1.3.4
ok jakemsr@
2007-12-08 11:08:38 +00:00

27 lines
932 B
Plaintext

$OpenBSD: patch-lib-src_libresample_Makefile_in,v 1.5 2007/12/08 11:08:38 ajacoutot Exp $
--- lib-src/libresample/Makefile.in.orig Sat Nov 24 12:26:50 2007
+++ lib-src/libresample/Makefile.in Sat Nov 24 12:27:32 2007
@@ -7,6 +7,7 @@ CC = @CC@
CFLAGS = @CFLAGS@ -Wall
LIBS = @LIBS@ -lm
+LDFLAGS = @LDFLAGS@
AR = @AR@
RANLIB = @RANLIB@
@@ -34,12 +35,12 @@ tests/testresample: libresample.a $(srcdir)/tests/test
tests/compareresample: libresample.a $(srcdir)/tests/compareresample.c
$(CC) -o tests/compareresample \
$(CFLAGS) $(srcdir)/tests/compareresample.c \
- libresample.a -lsamplerate $(LIBS)
+ libresample.a $(LDFLAGS) -lsamplerate $(LIBS)
tests/resample-sndfile: libresample.a $(srcdir)/tests/resample-sndfile.c
$(CC) -o tests/resample-sndfile \
$(CFLAGS) $(srcdir)/tests/resample-sndfile.c \
- libresample.a -lsndfile $(LIBS)
+ libresample.a $(LDFLAGS) -lsndfile $(LIBS)
$(DIRS):
mkdir $(DIRS)