aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Paul Saman <jean-paul.saman@m2x.nl>2011-11-03 16:56:31 +0100
committerJean-Paul Saman <jean-paul.saman@m2x.nl>2011-11-03 16:56:31 +0100
commit35f3240cd435500a420b848f5326ff041fe70d98 (patch)
tree18c5580f16cd040d2b26f762c149b8b47b9a40d6
parent4bd7cd7c84d3027a99c7593470401afbd01a13bd (diff)
OpenBSD build fix.
-rw-r--r--configure.ac4
-rw-r--r--src/Makefile.am4
2 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6c0a8df..b743316 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,9 +29,13 @@ case "${target_os}" in
*mingw32* | *cygwin* | *wince* | *mingwce*)
have_win32="yes"
;;
+ *bsd*)
+ have_bsd="yes"
+ ;;
esac
AM_CONDITIONAL(HAVE_DARWIN, test "${have_darwin}" = "yes")
AM_CONDITIONAL(HAVE_WIN32, test "${have_win32}" = "yes")
+AM_CONDITIONAL(HAVE_BSD, test "${have_bsd}" = "yes")
dnl --enable-debug
AC_ARG_ENABLE(debug,
diff --git a/src/Makefile.am b/src/Makefile.am
index 00465f6..9797f90 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -19,9 +19,13 @@ else
if HAVE_DARWIN
libdvbpsi_la_LDFLAGS += -no-undefined
else
+if HAVE_BSD
+libdvbpsi_la_LDFLAGS +=
+else
libdvbpsi_la_LDFLAGS += -Wl,--no-undefined
endif
endif
+endif
pkginclude_HEADERS = dvbpsi.h psi.h descriptor.h demux.h \
tables/pat.h tables/pmt.h tables/sdt.h tables/eit.h \

Privacy Policy