mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
We get the -lcap through LIBS, so no need for CAP_LIBS.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@461 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
104797b5a0
commit
917d8765c6
2 changed files with 2 additions and 3 deletions
|
|
@ -258,10 +258,9 @@ AC_ARG_WITH(
|
|||
AC_HELP_STRING([--without-caps],[Omit support for POSIX capabilities.]))
|
||||
|
||||
if test "x${with_caps}" != "xno"; then
|
||||
AC_SEARCH_LIBS([cap_init], [cap], [CAP_LIBS='-lcap'], [CAP_LIBS=''])
|
||||
AC_SEARCH_LIBS([cap_init], [cap])
|
||||
AC_CHECK_HEADERS([sys/capability.h])
|
||||
fi
|
||||
AC_SUBST(CAP_LIBS)
|
||||
|
||||
#### pkg-config ####
|
||||
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ polypaudio_SOURCES = \
|
|||
polypaudio_CFLAGS = $(AM_CFLAGS)
|
||||
polypaudio_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
polypaudio_LDADD = $(AM_LDADD) libpolypcore.la $(LIBLTDL) \
|
||||
$(LIBSAMPLERATE_LIBS) $(LIBSNDFILE_LIBS) $(CAP_LIBS)
|
||||
$(LIBSAMPLERATE_LIBS) $(LIBSNDFILE_LIBS)
|
||||
polypaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) -dlopen force $(foreach f,$(PREOPEN_LIBS),-dlopen $(f))
|
||||
|
||||
if PREOPEN_MODS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue