build: ldconfig lives in /sbin
commitbc6374104bdfcc72689566e226c7b5690c822d2b
authorKirill Smelkov <kirr@navytux.spb.ru>
Tue, 20 Mar 2012 14:29:38 +0000 (20 18:29 +0400)
committerKirill Smelkov <kirr@navytux.spb.ru>
Tue, 20 Mar 2012 14:29:38 +0000 (20 18:29 +0400)
treeec447df1ca6c43fa9558e672b79b6f025b24dbbc
parent035263dced0093dc3e2bbdd3c35985ad8298a7a4
build: ldconfig lives in /sbin

I used to have /sbin in my regular path - that's why it worked before,
but without it fails:

g++ -g -O2 -fPIC -Wall -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL      -shared -Wl,-no-undefined -Wl,-soname=librawv.so.0 view.o capture.o net.o misc.o sdlu.o -lSDL   -o librawv.so.0.0
ldconfig -l librawv.so.0.0
make: ldconfig: Command not found
Makefile:15: recipe for target `librawv.so' failed
make: *** [librawv.so] Error 127

So just use the full path to ldconfig.

Signed-off-by: Kirill Smelkov <kirr@navytux.spb.ru>
Makefile