Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
libdvbpsi
Commits
9e027628
Commit
9e027628
authored
Aug 25, 2011
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use -no-undefined when building for windows
parent
49b35a96
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
configure.ac
configure.ac
+6
-2
src/Makefile.am
src/Makefile.am
+7
-1
No files found.
configure.ac
View file @
9e027628
...
@@ -21,11 +21,15 @@ CFLAGS="${CFLAGS} -Wall -DDVBPSI_DIST --std=gnu99"
...
@@ -21,11 +21,15 @@ CFLAGS="${CFLAGS} -Wall -DDVBPSI_DIST --std=gnu99"
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
x
"${target_os}" in
case "${target_os}" in
x
darwin*)
darwin*)
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,
...
...
src/Makefile.am
View file @
9e027628
...
@@ -11,7 +11,13 @@ libdvbpsi_la_SOURCES = dvbpsi.c dvbpsi_private.h \
...
@@ -11,7 +11,13 @@ libdvbpsi_la_SOURCES = dvbpsi.c dvbpsi_private.h \
$(tables_src)
\
$(tables_src)
\
$(descriptors_src)
$(descriptors_src)
libdvbpsi_la_LDFLAGS
=
-version-info
7:0:0
-Wl
,--no-undefined
libdvbpsi_la_LDFLAGS
=
-version-info
7:0:0
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
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment