Opened 16 years ago
Last modified 16 years ago
#1452 new defect
libdvdread: builds incorrectly on os x (darwin)
Reported by: | Owned by: | reimar | |
---|---|---|---|
Priority: | normal | Component: | core |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
dvd_reader.c uses the define DARWIN to enable darwin specific code, but it is never defined anywhere. The following patch fixes it.
diff -Naur libdvdread.orig/configure.ac libdvdread/configure.ac
--- libdvdread.orig/configure.ac 2009-01-08 17:57:10.000000000 -0500
+++ libdvdread/configure.ac 2009-04-24 01:50:56.000000000 -0400
@@ -145,6 +145,9 @@
*cygwin*)
LDFLAGS="-no-undefined $LDFLAGS"
;;
+ *darwin*)
+ AC_DEFINE(DARWIN, 1, Have a Mac OS X system)
+ ;;
*os2*)
LDFLAGS="-no-undefined -Zbin-files $LDFLAGS"
;;
Note:
See TracTickets
for help on using tickets.