Skip to content

Commit 3985031

Browse files
committed
Remove no-longer-needed hack to add pgsleep.c to regress.so.
1 parent a7f8ae3 commit 3985031

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

src/test/regress/GNUmakefile

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
77
# Portions Copyright (c) 1994, Regents of the University of California
88
#
9-
# $PostgreSQL: pgsql/src/test/regress/GNUmakefile,v 1.51 2005/07/25 00:58:27 tgl Exp $
9+
# $PostgreSQL: pgsql/src/test/regress/GNUmakefile,v 1.52 2005/07/28 04:32:32 tgl Exp $
1010
#
1111
#-------------------------------------------------------------------------
1212

@@ -56,7 +56,7 @@ pg_regress: pg_regress.sh GNUmakefile $(top_builddir)/src/Makefile.global
5656
NAME = regress
5757
SO_MAJOR_VERSION= 0
5858
SO_MINOR_VERSION= 0
59-
OBJS = regress.o pgsleep.o
59+
OBJS = regress.o
6060
SHLIB_LINK = $(BE_DLLLIBS)
6161

6262
include $(top_srcdir)/src/Makefile.shlib
@@ -67,16 +67,6 @@ $(NAME)$(DLSUFFIX): $(shlib)
6767
rm -f $(NAME)$(DLSUFFIX)
6868
$(LN_S) $(shlib) $(NAME)$(DLSUFFIX)
6969

70-
# regress.so needs pg_usleep, which on some platforms can't be linked
71-
# from the main backend (though I'd sure like to know why not).
72-
# We can't incorporate libpgport directly either, since it's not built
73-
# with appropriate options to build a shared lib. Instead,
74-
# symlink the source file in here and build our own object file.
75-
76-
pgsleep.c: % : $(top_srcdir)/src/port/%
77-
rm -f $@ && $(LN_S) $< .
78-
79-
8070
# Build test input and expected files
8171

8272
file_list := copy create_function_1 create_function_2 misc constraints tablespace
@@ -174,7 +164,7 @@ bigcheck:
174164

175165
clean distclean maintainer-clean: clean-lib
176166
# things built by `all' target
177-
rm -f $(NAME)$(DLSUFFIX) $(OBJS) pgsleep.c
167+
rm -f $(NAME)$(DLSUFFIX) $(OBJS)
178168
$(MAKE) -C $(contribdir)/spi clean
179169
rm -f $(output_files) $(input_files) pg_regress
180170
# things created by various check targets

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