diff options
author | Lionel Orry <lionel.orry@gmail.com> | 2011-05-09 21:05:31 +0200 |
---|---|---|
committer | jeremyz <jeremy@asynk.ch> | 2011-05-09 21:30:33 +0200 |
commit | 733a2ca1dd5ee08048eff4b50fbe5e07ee3498e1 (patch) | |
tree | 5876cc79e98402683a085949c4e9f7d2caa8231b /tools | |
parent | 853b6be0ceceb897f736c77c081be7dcf4a387ee (diff) | |
download | ffi-efl-733a2ca1dd5ee08048eff4b50fbe5e07ee3498e1.zip ffi-efl-733a2ca1dd5ee08048eff4b50fbe5e07ee3498e1.tar.gz |
use a cleaner way to get the include dir. Previous was buggy on Gentoo at least
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/extract-api.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/extract-api.sh b/tools/extract-api.sh index 254a693..65e09e1 100755 --- a/tools/extract-api.sh +++ b/tools/extract-api.sh @@ -6,7 +6,7 @@ P=$(dirname $0) # CURRENT=$P/api PREV=$P/api-prev -INCLUDE=$(pkg-config --libs ecore |gawk '{ print substr($1,3) }' | sed s/lib/include/) +INCLUDE=$(pkg-config --variable=includedir ecore) # if [ ! -d $CURRENT ]; then mkdir $CURRENT |