af10693e4c
ok ajacoutot@
27 lines
928 B
Plaintext
27 lines
928 B
Plaintext
$OpenBSD: patch-lib-src_libresample_Makefile_in,v 1.2 2006/10/12 14:26:04 alek Exp $
|
|
--- lib-src/libresample/Makefile.in.orig Sun Nov 27 17:47:29 2005
|
|
+++ lib-src/libresample/Makefile.in Sun Oct 8 20:52:45 2006
|
|
@@ -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 $(srcd
|
|
tests/compareresample: libresample.a $(srcdir)/tests/compareresample.c $(DIRS)
|
|
$(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 $(DIRS)
|
|
$(CC) -o tests/resample-sndfile \
|
|
$(CFLAGS) $(srcdir)/tests/resample-sndfile.c \
|
|
- libresample.a -lsndfile $(LIBS)
|
|
+ libresample.a $(LDFLAGS) -lsndfile $(LIBS)
|
|
|
|
$(DIRS):
|
|
mkdir $(DIRS)
|