--- src/target/Makefile.in	2011-08-28 14:05:43.000000000 -0700
+++ src/target/Makefile.in	2011-08-28 14:05:57.000000000 -0700
@@ -51,7 +51,7 @@
 PROGRAMS = $(bin_PROGRAMS)
 am_iscsi_target_OBJECTS = iscsi_target-iscsi-target.$(OBJEXT)
 iscsi_target_OBJECTS = $(am_iscsi_target_OBJECTS)
-iscsi_target_DEPENDENCIES = ../lib/libiscsi.la
+iscsi_target_DEPENDENCIES =
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include
 depcomp = $(SHELL) $(top_srcdir)/buildaux/depcomp
 am__depfiles_maybe = depfiles
@@ -210,7 +210,7 @@
 AM_CFLAGS = $(WARNCFLAGS) -pthread
 iscsi_target_SOURCES = iscsi-target.c
 iscsi_target_CPPFLAGS = -I$(top_srcdir)/include
-iscsi_target_LDADD = ../lib/libiscsi.la -lpthread
+iscsi_target_LDADD = -liscsi -lpthread
 man8_MANS = iscsi-target.8
 man5_MANS = targets.5
 dist_man_MANS = iscsi-target.8 targets.5
