aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2004-10-07 00:08:04 +0000
committerNeil Conway <neilc@samurai.com>2004-10-07 00:08:04 +0000
commit0683a4755656968a23c1e3b94d8f131b5398758c (patch)
tree6b17ef69fac57251e50ac1a5f008e89d6d713e9c /src
parent52a45818a13bc32156ada02554eef76e1124b618 (diff)
downloadpostgresql-0683a4755656968a23c1e3b94d8f131b5398758c.tar.gz
postgresql-0683a4755656968a23c1e3b94d8f131b5398758c.zip
Allow the spinlock test to be compiled successfully in a vpath build.
Diffstat (limited to 'src')
-rw-r--r--src/backend/storage/lmgr/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/lmgr/Makefile b/src/backend/storage/lmgr/Makefile
index 20343ea831e..e77eda40c7c 100644
--- a/src/backend/storage/lmgr/Makefile
+++ b/src/backend/storage/lmgr/Makefile
@@ -4,7 +4,7 @@
# Makefile for storage/lmgr
#
# IDENTIFICATION
-# $PostgreSQL: pgsql/src/backend/storage/lmgr/Makefile,v 1.19 2004/06/19 19:43:11 tgl Exp $
+# $PostgreSQL: pgsql/src/backend/storage/lmgr/Makefile,v 1.20 2004/10/07 00:08:04 neilc Exp $
#
#-------------------------------------------------------------------------
@@ -20,7 +20,7 @@ SUBSYS.o: $(OBJS)
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
s_lock_test: s_lock.c $(top_builddir)/src/port/libpgport.a
- $(CC) $(CPPFLAGS) $(CFLAGS) -DS_LOCK_TEST=1 s_lock.c \
+ $(CC) $(CPPFLAGS) $(CFLAGS) -DS_LOCK_TEST=1 $(srcdir)/s_lock.c \
-L $(top_builddir)/src/port -lpgport -o s_lock_test
check: s_lock_test