Skip to content

Commit a1ee621

Browse files
committed
Fix s_lock_test to use tas.o file, if needed.
1 parent 53ee9f5 commit a1ee621

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/backend/storage/lmgr/Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for storage/lmgr
55
#
66
# IDENTIFICATION
7-
# $PostgreSQL: pgsql/src/backend/storage/lmgr/Makefile,v 1.20 2004/10/07 00:08:04 neilc Exp $
7+
# $PostgreSQL: pgsql/src/backend/storage/lmgr/Makefile,v 1.21 2006/04/28 22:54:31 momjian Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -19,9 +19,13 @@ all: SUBSYS.o
1919
SUBSYS.o: $(OBJS)
2020
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
2121

22+
ifdef TAS
23+
TASPATH = $(top_builddir)/src/backend/port/tas.o
24+
endif
25+
2226
s_lock_test: s_lock.c $(top_builddir)/src/port/libpgport.a
2327
$(CC) $(CPPFLAGS) $(CFLAGS) -DS_LOCK_TEST=1 $(srcdir)/s_lock.c \
24-
-L $(top_builddir)/src/port -lpgport -o s_lock_test
28+
$(TASPATH) -L $(top_builddir)/src/port -lpgport -o s_lock_test
2529

2630
check: s_lock_test
2731
./s_lock_test

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy