Linus Unnebäck
9 years ago
5 changed files with 48 additions and 38 deletions
@ -1,6 +0,0 @@ |
|||
#!/usr/bin/env sh |
|||
|
|||
# Make pkg-config lookup include files from the build directory. |
|||
export PKG_CONFIG_PATH=$(cd "$(dirname "$0")"; pwd)/../build_cairo/lib/pkgconfig; |
|||
|
|||
pkg-config cairo --cflags-only-I | sed s/-I//g |
@ -1,13 +0,0 @@ |
|||
#!/usr/bin/env sh |
|||
|
|||
has_freetype() { |
|||
pkg-config cairo --cflags-only-I | grep freetype2 |
|||
} |
|||
|
|||
has_freetype > /dev/null |
|||
|
|||
if test $? -eq 0; then |
|||
echo true |
|||
else |
|||
echo false |
|||
fi |
@ -1,6 +0,0 @@ |
|||
#!/usr/bin/env sh |
|||
|
|||
# Make pkg-config lookup include files from the build directory. |
|||
export PKG_CONFIG_PATH=$(cd "$(dirname "$0")"; pwd)/../build_cairo/lib/pkgconfig; |
|||
|
|||
pkg-config $1 --libs |
Loading…
Reference in new issue