diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-19 17:56:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-19 17:56:43 +0300 |
commit | 1b62d5cb6e4709981c158add59c12ca34b5f582f (patch) | |
tree | 9ccd566fcced6bac7ebdff363dc525c676144eab | |
parent | af63b59b56217cdff23fd2f2feb6a38659b115ac (diff) | |
download | manaverse-1b62d5cb6e4709981c158add59c12ca34b5f582f.tar.gz manaverse-1b62d5cb6e4709981c158add59c12ca34b5f582f.tar.bz2 manaverse-1b62d5cb6e4709981c158add59c12ca34b5f582f.tar.xz manaverse-1b62d5cb6e4709981c158add59c12ca34b5f582f.zip |
Use pkg-config for linking with libpng.
-rwxr-xr-x | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b6655bd6e..3f8313fb8 100755 --- a/configure.ac +++ b/configure.ac @@ -111,6 +111,8 @@ AC_PATH_PROG(CURL_CONFIG, curl-config) LIBS="$LIBS `$PKG_CONFIG --libs zlib`" CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags zlib`" +LIBS="$LIBS `$PKG_CONFIG --libs libpng`" +CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags libpng`" # Checks for internationalization support AM_GNU_GETTEXT([external],[need-ngettext]) |