I'm trying to compile Dillo 3.0.3 but I get an error from the linker saying:
/usr/bin/ld: xembed.o: undefined reference to symbol 'XSync'
/usr/bin/ld: note: 'XSync' is defined in DSO
/usr/lib/x86_64-linux-gnu/libX11.so.6 so try adding it to the linker
How do I add -lX11 to the linker command line? I have tried
$ LDLIBS=-lX11 make
but it makes no difference. My OS is Lubuntu 13.04.