Commit 67bdf95c authored by Brad's avatar Brad Committed by Jean-Paul Saman

Cleanup use of linker option --no-undefined to be more portable.

Signed-off-by: default avatarJean-Paul Saman <jpsaman@videolan.org>
parent 74845e2a
......@@ -24,18 +24,8 @@ dnl check the operating system
case "${target_os}" in
darwin*)
CFLAGS="${CFLAGS} -no-cpp-precomp"
have_darwin="yes"
;;
*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,
......
......@@ -11,21 +11,7 @@ libdvbpsi_la_SOURCES = dvbpsi.c dvbpsi_private.h \
$(tables_src) \
$(descriptors_src)
libdvbpsi_la_LDFLAGS = -version-info 7:0:0
if HAVE_WIN32
libdvbpsi_la_LDFLAGS += -no-undefined
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
libdvbpsi_la_LDFLAGS = -version-info 7:0:0 -no-undefined
pkginclude_HEADERS = dvbpsi.h psi.h descriptor.h demux.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