diff --git a/src/interfaces/ecpg/lib/Makefile.in b/src/interfaces/ecpg/lib/Makefile.in index 4bd615d60e..97c4c80903 100644 --- a/src/interfaces/ecpg/lib/Makefile.in +++ b/src/interfaces/ecpg/lib/Makefile.in @@ -47,8 +47,10 @@ $(shlib): ecpglib.o typename.o clean: rm -f *.o *.a core a.out *~ $(shlib) libecpg.so -install: libecpg.a $(shlib) +install: libecpg.a $(shlib) $(install-shlib-dep) $(INSTALL) $(INSTLOPTS) libecpg.a $(DESTDIR)$(LIBDIR) + +install-shlib: $(INSTALL) $(INSTLOPTS) $(shlib) $(DESTDIR)$(LIBDIR) ln -sf $(shlib) $(DESTDIR)$(LIBDIR)/libecpg.so