Skip to content

Commit

Permalink
Update acinclude.m4
Browse files Browse the repository at this point in the history
Add i386 path for glib - if anyone knows how to make it auto-handle deciding which platform and therefore which platform specific path, please improve this. Better yet, work out why the platform specific path is needed and avoid that nastiness.
  • Loading branch information
timrowledge committed Oct 31, 2016
1 parent 78bc1d1 commit 493d58f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/unix/plugins/UnicodePlugin/acinclude.m4
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

AC_MSG_CHECKING([for PangoCairo libraries])
save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include"
CPPFLAGS="-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/lib/i386-linux-gnu/glib-2.0/include"
AC_TRY_COMPILE([#include <pango/pangocairo.h>],[{}],[
AC_MSG_RESULT(yes)
],[
Expand Down

1 comment on commit 493d58f

@zecke
Copy link
Contributor

@zecke zecke commented on 493d58f Nov 1, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use pkg-config to find glib-2.0... it has means for cross-compiling..

Please sign in to comment.