Dieterbe/uzbl — pull request #75 by dmedvinsky (2012-01-23 05:33:31+00:00)
Title: Fix missing javascriptcoregtk dependency in Makefile

The -ljavascriptcoregtk-1.0 flag is required in order to build the application
against GTK2.

At least for me, on Arch Linux, building resulted in:

± make
cc uzbl-core.o callbacks.o io.o events.o cookie-jar.o inspector.o variables.o menu.o commands.o util.o status-bar.o -pthread -lwebkitgtk-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lX11 -o uzbl-core
/usr/bin/ld: uzbl-core.o: undefined reference to symbol 'JSStringRelease'
/usr/bin/ld: note: 'JSStringRelease' is defined in DSO /usr/lib/libjavascriptcoregtk-1.0.so.0 so try adding it to the linker command line
/usr/lib/libjavascriptcoregtk-1.0.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [uzbl-core] Error 1

With this fix, it doesn't.