aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad <brad@comstyle.com>2011-11-04 09:33:15 +0100
committerJean-Paul Saman <jpsaman@videolan.org>2011-11-04 09:33:15 +0100
commit67bdf95ca413147a3c52285bd579852a31f7e59d (patch)
tree0846712ed03d6485c12d445a9b3f7b3d4b4b3a95
parent74845e2ada2e90c43e729d94f7fe2b633fc7f715 (diff)
Cleanup use of linker option --no-undefined to be more portable.branch/0.2.0-bugfix
Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
-rw-r--r--configure.ac10
-rw-r--r--src/Makefile.am16
2 files changed, 1 insertions, 25 deletions
diff --git a/configure.ac b/configure.ac
index b743316..8764c97 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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,
diff --git a/src/Makefile.am b/src/Makefile.am
index 9797f90..c07ff24 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -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 \

Privacy Policy