Commit c30a651c authored by Jean-Paul Saman's avatar Jean-Paul Saman

Revert "Use -no-undefined when building for windows"

This reverts commit 4a9fb815.
parent 62312d68
...@@ -20,15 +20,11 @@ CFLAGS="${CFLAGS} -Wall -Werror --std=gnu99 -D_GNU_SOURCE" ...@@ -20,15 +20,11 @@ CFLAGS="${CFLAGS} -Wall -Werror --std=gnu99 -D_GNU_SOURCE"
CFLAGS="${CFLAGS} -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare" CFLAGS="${CFLAGS} -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare"
dnl check the operating system dnl check the operating system
case "${target_os}" in case x"${target_os}" in
darwin*) xdarwin*)
CFLAGS="${CFLAGS} -no-cpp-precomp" CFLAGS="${CFLAGS} -no-cpp-precomp"
;; ;;
*mingw32* | *cygwin* | *wince* | *mingwce*)
have_win32="yes"
;;
esac esac
AM_CONDITIONAL(HAVE_WIN32, test "${have_win32}" = "yes")
dnl --enable-debug dnl --enable-debug
AC_ARG_ENABLE(debug, AC_ARG_ENABLE(debug,
......
...@@ -11,12 +11,7 @@ libdvbpsi_la_SOURCES = dvbpsi.c dvbpsi_private.h \ ...@@ -11,12 +11,7 @@ libdvbpsi_la_SOURCES = dvbpsi.c dvbpsi_private.h \
$(tables_src) \ $(tables_src) \
$(descriptors_src) $(descriptors_src)
libdvbpsi_la_LDFLAGS = -version-info 8:0:0 libdvbpsi_la_LDFLAGS = -version-info 8:0:0 -Wl,--no-undefined
if HAVE_WIN32
libdvbpsi_la_LDFLAGS += -no-undefined
else
libdvbpsi_la_LDFLAGS += -Wl,--no-undefined
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