Commit 1a0bb73f authored by Sam Hocevar's avatar Sam Hocevar
Browse files

* configure.ac: forward -framework options to the linker.

parent a985b4c8
......@@ -137,6 +137,7 @@ AC_CHECK_HEADERS(sys/ioctl.h,[
dnl
AC_CHECK_HEADER(IOKit/storage/IODVDMediaBSDClient.h,[
AC_DEFINE(DARWIN_DVD_IOCTL, 1, Have IOKit DVD IOCTL headers)
DVDCSS_LDFLAGS="-Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,IOKit"
])
dnl
dnl Final tests to check what was detected
......@@ -196,6 +197,7 @@ AM_CONDITIONAL(DOXYGEN, test "${DOXYGEN}" != "no")
AC_PATH_PROG(LATEX, latex, no)
AM_CONDITIONAL(LATEX, test "${LATEX}" != "no")
AC_SUBST(DVDCSS_LDFLAGS)
AC_OUTPUT([
Makefile
debian/Makefile
......
......@@ -15,7 +15,7 @@ EXTRA_libdvdcss_la_SOURCES = \
$(bsdi_extras)
libdvdcss_la_LIBADD = $(bsdi_libadd)
libdvdcss_la_LDFLAGS = -version-info 2:8:0 $(libtool_flags)
libdvdcss_la_LDFLAGS = -version-info 2:8:0 $(libtool_flags) @DVDCSS_LDFLAGS@
bsdi_extras = bsdi_ioctl.c bsdi_dvd.h
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment