--- hplip-3.11.12/Makefile.am.ori 2012-02-06 15:06:50.000000000 +0100 +++ hplip-3.11.12/Makefile.am 2012-02-06 15:07:43.000000000 +0100 @@ -69,9 +69,9 @@ io/hpmud/hpmud.h io/hpmud/hpmudi.h io/hpmud/list.h io/hpmud/mlc.h io/hpmud/musb.h io/hpmud/pml.h io/hpmud/dot4.c \ io/hpmud/dot4.h io/hpmud/jd.c io/hpmud/jd.h io/hpmud/pp.c io/hpmud/pp.h if NETWORK_BUILD -libhpmud_la_LDFLAGS = -version-info 0:6:0 -lusb -lpthread -l$(SNMPLIB) -lcrypto +libhpmud_la_LDFLAGS = -version-info 0:6:0 -lusb -lpthread -lrt -l$(SNMPLIB) -lcrypto else -libhpmud_la_LDFLAGS = -version-info 0:6:0 -lusb -lpthread +libhpmud_la_LDFLAGS = -version-info 0:6:0 -lusb -lpthread -lrt endif libhpmud_la_CFLAGS = -DMUDNAME=\"$(MUDNAME)\" -DCONFDIR=\"$(hplip_confdir)\" @@ -88,7 +88,7 @@ hp_mkuridir = $(bindir) hp_mkuri_PROGRAMS = hp-mkuri hp_mkuri_SOURCES = io/hpmud/hp-mkuri.c -hp_mkuri_LDADD = -ldl libhpmud.la +hp_mkuri_LDADD = -ldl -lrt libhpmud.la hp_mkuri_CFLAGS = -DCONFDIR=\"$(hplip_confdir)\" # hpmud.rules