diff options
Diffstat (limited to 'vcl/util/makefile.mk')
-rw-r--r-- | vcl/util/makefile.mk | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/vcl/util/makefile.mk b/vcl/util/makefile.mk index fab460ae80f7..4ae3157ca092 100644 --- a/vcl/util/makefile.mk +++ b/vcl/util/makefile.mk @@ -4,9 +4,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.96 $ +# $Revision: 1.97 $ # -# last change: $Author: rt $ $Date: 2007-07-27 10:25:23 $ +# last change: $Author: hr $ $Date: 2007-07-31 13:02:17 $ # # The Contents of this file are made available subject to # the terms of GNU Lesser General Public License Version 2.1. @@ -45,6 +45,10 @@ USE_DEFFILE=TRUE LINKFLAGSRUNPATH=-R/usr/sfw/lib -R\''$$ORIGIN'\' .ENDIF +.IF "$(SNDFILE_LIBS)"!="" +SNDFILELIB=$(SNDFILE_LIBS) +.ENDIF + # --- Settings ----------------------------------------------------------- .INCLUDE : settings.mk @@ -294,7 +298,7 @@ SHL2STDLIBS+=`pkg-config --libs xrender` .IF "$(ENABLE_PASF)" != "" -SHL2STDLIBS += -lsndfile -lportaudio +SHL2STDLIBS += $(SNDFILELIB) -lportaudio .IF "$(OS)"=="MACOSX" SHL2STDLIBS += -framework CoreAudio -framework AudioToolbox .ENDIF # "$(OS)"=="MACOSX" |