Index: trunk/psphot/src/Makefile.am
===================================================================
--- trunk/psphot/src/Makefile.am	(revision 6140)
+++ trunk/psphot/src/Makefile.am	(revision 6141)
@@ -6,8 +6,8 @@
 
 psphot_CPPFLAGS = $(libpsphot_la_CPPFLAGS)
-psphot_LDADD = $(libpsphot_la_LADDADD) -lpsphot
+psphot_LDADD = libpsphot.la
 
 psphotTest_CPPFLAGS = $(libpsphot_la_CPPFLAGS)
-psphotTest_LDADD = $(libpsphot_la_LADDADD) -lpsphot
+psphotTest_LDADD = libpsphot.la
 
 
