Dicas para compilar o Matchbox com a uClibc

Compile a libpng do buildroot.
Copie a libpng12.so para /xc/exports/lib e o png.h para /xc/exports/include

Compilar libmatchbox, alterar Makefile:
MB_EXTRA_CFLAGS = -I/xc/exports/include
AM_CFLAGS = -g -Wall -fno-strict-aliasing -I/xc/exports/include -DDATADIR=\”$(datadir)\”
libmb_la_LIBADD = -L/xc/exports/lib -lX11 -lXext -lpng12

Compilar matchbox-window-manager:
LIBMB_CFLAGS = -g -Wall -fno-strict-aliasing -I/xc/exports/include -I/libs/include
LIBMB_LIBS = -L/xc/exports/lib -L/libs/lib -lmb -lX11 -lXext -lpng12

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s