forked from enlightenment/efl
* 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
This commit is contained in:
parent
a95ba2636d
commit
f76f005f75
|
@ -49,6 +49,14 @@ requirement_elm=""
|
||||||
|
|
||||||
PKG_PROG_PKG_CONFIG
|
PKG_PROG_PKG_CONFIG
|
||||||
|
|
||||||
|
# Check whether pkg-config supports Requires.private
|
||||||
|
if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
|
||||||
|
pkgconfig_requires_private="Requires.private"
|
||||||
|
else
|
||||||
|
pkgconfig_requires_private="Requires"
|
||||||
|
fi
|
||||||
|
AC_SUBST(pkgconfig_requires_private)
|
||||||
|
|
||||||
lt_enable_auto_import=""
|
lt_enable_auto_import=""
|
||||||
ELM_UNIX_DEF="#undef"
|
ELM_UNIX_DEF="#undef"
|
||||||
ELM_WIN32_DEF="#undef"
|
ELM_WIN32_DEF="#undef"
|
||||||
|
|
|
@ -5,9 +5,8 @@ includedir=@includedir@
|
||||||
|
|
||||||
Name: elementary
|
Name: elementary
|
||||||
Description: Mobile device touchscreen widget library
|
Description: Mobile device touchscreen widget library
|
||||||
Requires: @requirement_elm@
|
@pkgconfig_requires_private@: @requirement_elm@
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Libs: -L${libdir} -lelementary
|
Libs: -L${libdir} -lelementary
|
||||||
Libs.private: @dlopen_libs@ @my_libs@ @ELEMENTARY_LIBS@ @ELEMENTARY_X_LIBS@
|
Libs.private: @dlopen_libs@ @my_libs@
|
||||||
@ELEMENTARY_FB_LIBS@ @ELEMENTARY_WINCE_LIBS@ @ELEMENTARY_EDBUS_LIBS@ @ELEMENTARY_EFREET_LIBS@
|
Cflags: -I${includedir} -I${includedir}/elementary
|
||||||
Cflags: -I${includedir} -I${includedir}/elementary @ELEMENTARY_CFLAGS@ @ELEMENTARY_X_CFLAGS@ @ELEMENTARY_FB_CFLAGS@ @ELEMENTARY_WINCE_CFLAGS@ @ELEMENTARY_EDBUS_CFLAGS@ @ELEMENTARY_EFREET_CFLAGS@
|
|
||||||
|
|
Loading…
Reference in New Issue