diff options
author | flameeyes <flameeyes> | 2008-06-13 14:29:08 +0000 |
---|---|---|
committer | flameeyes <flameeyes> | 2008-06-13 14:29:08 +0000 |
commit | a25ab3f917e94c3d80bb3f8ef21013d3b7e49ea6 (patch) | |
tree | b05c5705111446abe594fc8ba80acce55b484a49 /Makefile.am | |
parent | 233affcfee0c7d9a82e3a9c5f849d0235c05a251 (diff) |
Only install libcdio++ and libiso9660++ pkg-config files if C++ bindings are being built and installed.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 63816f4a..06a693e2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -# $Id: Makefile.am,v 1.46 2008/04/15 17:35:23 rocky Exp $ +# $Id: Makefile.am,v 1.47 2008/06/13 14:29:08 flameeyes Exp $ # # Copyright (C) 2003, 2004, 2006, 2008 Rocky Bernstein <rocky@gnu.org> # @@ -44,11 +44,15 @@ endif # pkg-config(1) related rules pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libcdio.pc \ - libcdio++.pc \ libiso9660.pc \ - libiso9660++.pc \ libudf.pc \ - $(paranoiapcs) + $(paranoiapcs) \ + +if ENABLE_CPP +pkgconfig_DATA += \ + libcdio++.pc \ + libiso9660++.pc +endif $(pkgconfig_DATA): config.status |