dwm, xorg and --disable-static
Hi! I've tried to compile dwm statically, but the linker fails when it gets -static option (without this option everything compiles successfully)
Linker says:
/bin/ld: cannot find -lX11
/bin/ld: cannot find -lXinerama
/bin/ld: cannot find -lfontconfig
/bin/ld: cannot find -lXft
collect2: error: ld returned 1 exit status
make: *** [Makefile:26: dwm] Error 1
So I figured out that all xorg soft was compiled with --disable-static option. Is there some easy way to get the .a files of these libraries? I've tried to compile libx11 without --disable-static option, but no libx11.a file was appeared. Perhaps I need to compile all the libraries on which the libraries I need depend, but there are a lot of them.
I don't know if compiling xorg-server will help, but my attempt to do it failed as I could not find the programs I needed from the makedeps section of the PKGBUILD (like xf86driproto and others)
Maybe there is a manual on how to compile the whole xorg?