This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
libcdio-osx/libcdio.pc.in
rocky 34749d84ae Fixes for making libcdio work with pkg-config on Darwin when linking
vcdimager and when linking just libcdio. From Steven M. Schultz:

  I blew a couple minutes tinkering with libcdio.pc and found that
  manually adding a quote character (not even a matched set of quotes!)
  around the second -framework was enough.

  What works for now is manually editing libcdio.pc after it's been
  installed:

   Libs: -L${libdir} -lcdio  -lm  -Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,IOKit

  to:

   Libs: -L${libdir} -lcdio  -lm  -Wl,-framework -Wl,CoreFoundation "-Wl,-framework" -Wl,IOKit

  is enough to get vcdimager compiled and linked.

  Appears that the thing to do is somehow get the quotes into
  libcdio.pc but not into $LIBS - or something like that at any rate.
2004-08-19 01:12:27 +00:00

12 lines
256 B
PkgConfig

prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: libcdio
Description: Portable CD-ROM I/O library
Version: @VERSION@
#Requires: glib-2.0
Libs: -L${libdir} -lcdio @LIBS@ @DARWIN_PKG_LIB_HACK@
Cflags: -I${includedir}