1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Always define stlib, since some platforms need it for building modules.

Should fix build failures on AIX.
This commit is contained in:
Peter Eisentraut
2008-04-07 23:08:15 +00:00
parent 46e76373ec
commit 64e31b4f82

View File

@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California # Copyright (c) 1998, Regents of the University of California
# #
# IDENTIFICATION # IDENTIFICATION
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.114 2008/04/07 14:15:58 petere Exp $ # $PostgreSQL: pgsql/src/Makefile.shlib,v 1.115 2008/04/07 23:08:15 petere Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
@ -94,13 +94,13 @@ endif
# Testing the soname variable is a reliable way to determine whether a # Testing the soname variable is a reliable way to determine whether a
# linkable library is being built. # linkable library is being built.
soname = $(shlib_major) soname = $(shlib_major)
stlib = lib$(NAME).a
else else
# Naming convention for dynamically loadable modules # Naming convention for dynamically loadable modules
ifeq ($(enable_shared), yes) ifeq ($(enable_shared), yes)
shlib = $(NAME)$(DLSUFFIX) shlib = $(NAME)$(DLSUFFIX)
endif endif
endif endif
stlib = lib$(NAME).a
ifndef soname ifndef soname
# additional flags for backend modules # additional flags for backend modules