Skip to content
Snippets Groups Projects
Commit 0b5c72d9 authored by Tom Lane's avatar Tom Lane
Browse files

On some HPUX versions/hardware, it seems we need to include libgcc.a in

the regression test shared libraries.
parent 83fea34b
No related branches found
No related tags found
No related merge requests found
......@@ -53,10 +53,18 @@ endif
# Rule for building shared libs (currently used only for regression test
# shlib ... should go away, since this is not really enough knowledge)
%$(DLSUFFIX): %.o
ifeq ($(with_gnu_ld), yes)
$(CC) $(LDFLAGS) -shared -o $@ $<
ifeq ($(GCC), yes)
ifeq ($(with_gnu_ld), yes)
$(CC) $(LDFLAGS) -shared -o $@ $< `$(CC) $(LDFLAGS) -print-libgcc-file-name`
else
$(LD) -b -o $@ $< `$(CC) $(LDFLAGS) -print-libgcc-file-name`
endif
else
ifeq ($(with_gnu_ld), yes)
$(CC) $(LDFLAGS) -shared -o $@ $<
else
$(LD) -b -o $@ $<
endif
endif
sqlmansect = 5
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment