Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5478913

Browse files
committed
Behave reasonably on a system without shared libraries.
1 parent e337249 commit 5478913

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/pl/plpgsql/src/Makefile.in

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for the plpgsql shared object
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.11 1998/10/28 17:07:15 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.12 1998/10/30 15:05:23 tgl Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -37,7 +37,11 @@ include $(SRCDIR)/Makefile.shlib
3737
# instead:
3838

3939
install: $(shlib)
40+
ifneq ($(shlib),)
4041
$(INSTALL) $(INSTL_SHLIB_OPTS) $(shlib) $(LIBDIR)/plpgsql$(DLSUFFIX)
42+
else
43+
@echo "plpgsql not installed due to lack of shared library support."
44+
endif
4145

4246

4347
pl_handler.o: pl_handler.c plpgsql.h pl.tab.h
@@ -65,7 +69,7 @@ scan.c: scan.l
6569
pl.tab.h: pl_gram.c
6670

6771

68-
.PHONY: clean
72+
.PHONY: install clean
6973

7074
clean:
7175
rm -f lib$(NAME).a $(shlib)

0 commit comments

Comments
 (0)