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

Use -no-undefined when bullding for MacOS X

(cherry picked from commit 5e384da0)
parent 10ef5721
......@@ -24,11 +24,13 @@ 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"
;;
esac
AM_CONDITIONAL(HAVE_DARWIN, test "${have_darwin}" = "yes")
AM_CONDITIONAL(HAVE_WIN32, test "${have_win32}" = "yes")
dnl --enable-debug
......
......@@ -16,8 +16,12 @@ 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
libdvbpsi_la_LDFLAGS += -Wl,--no-undefined
endif
endif
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