mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-03 11:49:31 +00:00
fix missing X11 library in some cases
This commit is contained in:
parent
14ef6eacaa
commit
e3113fa609
2 changed files with 5 additions and 2 deletions
|
|
@ -298,7 +298,9 @@ AC_ARG_ENABLE(x11,
|
|||
if test "$video" = "true"; then
|
||||
|
||||
if test "$enable_x11" = "true"; then
|
||||
AC_CHECK_HEADERS(X11/Xlib.h)
|
||||
AC_CHECK_HEADERS(X11/Xlib.h)
|
||||
AC_CHECK_LIB(X11,XUnmapWindow, X11_LIBS="-lX11")
|
||||
AC_SUBST(X11_LIBS)
|
||||
fi
|
||||
AC_DEFINE(VIDEO_ENABLED,1,[defined if video support is available])
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -23,7 +23,8 @@ linphonec_LDADD = $(top_builddir)/coreapi/liblinphone.la $(READLINE_LIBS) \
|
|||
$(MEDIASTREAMER_LIBS) \
|
||||
$(ORTP_LIBS) \
|
||||
$(SPEEX_LIBS) \
|
||||
$(OSIP_LIBS)
|
||||
$(OSIP_LIBS) \
|
||||
$(X11_LIBS)
|
||||
|
||||
if BUILD_WIN32
|
||||
#special build of linphonec to detach from the windows console
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue