--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -51,7 +51,7 @@ libgengetopt_la_LIBADD = $(top_builddir)
 	@LTLIBOBJS@ \
 	skels/libgen.la
 
-LDADD = $(top_builddir)/src/libgengetopt.la
+LDADD = libgengetopt.la
 
 EXTRA_DIST = parser.h argsdef.h gengetopt.h ggos.h gm.h gnugetopt.h \
 cmdline.c cmdline.h \
