[glib] Install gio-unix-2.0.pc only on Unix



commit 8202728f067c5d418f4fcc5172a990aa1c68312b
Author: Tor Lillqvist <tml iki fi>
Date:   Tue Dec 22 00:46:12 2009 +0200

    Install gio-unix-2.0.pc only on Unix
    
    The gio-unix-2.0 headers are installed only on Unix anyway.

 Makefile.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 8973778..708b16b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -102,7 +102,11 @@ ChangeLog:
 	fi
 
 pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = glib-2.0.pc gobject-2.0.pc gmodule-2.0.pc gmodule-export-2.0.pc gmodule-no-export-2.0.pc gthread-2.0.pc gio-2.0.pc gio-unix-2.0.pc
+pkgconfig_DATA = glib-2.0.pc gobject-2.0.pc gmodule-2.0.pc gmodule-export-2.0.pc gmodule-no-export-2.0.pc gthread-2.0.pc gio-2.0.pc
+
+if OS_UNIX
+pkgconfig_DATA += gio-unix-2.0.pc
+endif
 
 $(pkgconfig_DATA): config.status
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]