From a398c256906c6719aa5bed5f6e9d64902adaca94 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Sat, 3 Oct 2009 06:57:32 +0000 Subject: * use Requires.private field in elementary.pc if pkg-config 0.22 or later is installed. We list in it the required packages needed to compile elementary. * remove uneeded flags that are in Libs.private and Cflags (those from the packages that are listed in Requires.private) SVN revision: 42866 --- elementary.pc.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'elementary.pc.in') diff --git a/elementary.pc.in b/elementary.pc.in index ecf8705a1..307d3ade0 100644 --- a/elementary.pc.in +++ b/elementary.pc.in @@ -5,9 +5,8 @@ includedir=@includedir@ Name: elementary Description: Mobile device touchscreen widget library -Requires: @requirement_elm@ +@pkgconfig_requires_private@: @requirement_elm@ Version: @VERSION@ Libs: -L${libdir} -lelementary -Libs.private: @dlopen_libs@ @my_libs@ @ELEMENTARY_LIBS@ @ELEMENTARY_X_LIBS@ -@ELEMENTARY_FB_LIBS@ @ELEMENTARY_WINCE_LIBS@ @ELEMENTARY_EDBUS_LIBS@ @ELEMENTARY_EFREET_LIBS@ -Cflags: -I${includedir} -I${includedir}/elementary @ELEMENTARY_CFLAGS@ @ELEMENTARY_X_CFLAGS@ @ELEMENTARY_FB_CFLAGS@ @ELEMENTARY_WINCE_CFLAGS@ @ELEMENTARY_EDBUS_CFLAGS@ @ELEMENTARY_EFREET_CFLAGS@ +Libs.private: @dlopen_libs@ @my_libs@ +Cflags: -I${includedir} -I${includedir}/elementary -- cgit v1.2.1