Commit 35f3240c authored by Jean-Paul Saman's avatar Jean-Paul Saman

OpenBSD build fix.

parent 4bd7cd7c
...@@ -29,9 +29,13 @@ case "${target_os}" in ...@@ -29,9 +29,13 @@ case "${target_os}" in
*mingw32* | *cygwin* | *wince* | *mingwce*) *mingw32* | *cygwin* | *wince* | *mingwce*)
have_win32="yes" have_win32="yes"
;; ;;
*bsd*)
have_bsd="yes"
;;
esac esac
AM_CONDITIONAL(HAVE_DARWIN, test "${have_darwin}" = "yes") AM_CONDITIONAL(HAVE_DARWIN, test "${have_darwin}" = "yes")
AM_CONDITIONAL(HAVE_WIN32, test "${have_win32}" = "yes") AM_CONDITIONAL(HAVE_WIN32, test "${have_win32}" = "yes")
AM_CONDITIONAL(HAVE_BSD, test "${have_bsd}" = "yes")
dnl --enable-debug dnl --enable-debug
AC_ARG_ENABLE(debug, AC_ARG_ENABLE(debug,
......
...@@ -19,9 +19,13 @@ else ...@@ -19,9 +19,13 @@ else
if HAVE_DARWIN if HAVE_DARWIN
libdvbpsi_la_LDFLAGS += -no-undefined libdvbpsi_la_LDFLAGS += -no-undefined
else else
if HAVE_BSD
libdvbpsi_la_LDFLAGS +=
else
libdvbpsi_la_LDFLAGS += -Wl,--no-undefined libdvbpsi_la_LDFLAGS += -Wl,--no-undefined
endif endif
endif endif
endif
pkginclude_HEADERS = dvbpsi.h psi.h descriptor.h demux.h \ pkginclude_HEADERS = dvbpsi.h psi.h descriptor.h demux.h \
tables/pat.h tables/pmt.h tables/sdt.h tables/eit.h \ tables/pat.h tables/pmt.h tables/sdt.h tables/eit.h \
......
Markdown is supported
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