mirror of
https://github.com/mpv-player/mpv
synced 2025-03-06 06:08:23 +00:00
FreeBSD install nas* to /usr/X11 by default (and require -lm)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3284 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
711dc54b8c
commit
bdde3d5657
2
configure
vendored
2
configure
vendored
@ -1799,7 +1799,7 @@ if test "$_nas" = auto || test "$_nas" = yes ; then
|
||||
int main(void) { return 0; }
|
||||
EOF
|
||||
_nas=no
|
||||
cc_check -laudio -lX11 -lXt -L$_x11libdir && _nas=yes
|
||||
cc_check -laudio -lX11 -lXt -lm -I$_x11incdir -L$_x11libdir && _nas=yes
|
||||
fi
|
||||
if test "$_nas" = yes ; then
|
||||
_def_nas='#define HAVE_NAS 1'
|
||||
|
@ -7,7 +7,7 @@ LIBNAME = libao2.a
|
||||
SRCS=afmt.c audio_out.c ao_mpegpes.c ao_null.c ao_pcm.c ao_plugin.c pl_delay.c pl_format.c $(OPTIONAL_SRCS)
|
||||
OBJS=$(SRCS:.c=.o)
|
||||
|
||||
CFLAGS = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(EXTRA_INC)
|
||||
CFLAGS = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(X11_INC) $(EXTRA_INC)
|
||||
|
||||
.SUFFIXES: .c .o
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user