Commit 0b5c72d9 authored by Tom Lane's avatar Tom Lane

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

the regression test shared libraries.
parent 83fea34b
...@@ -53,10 +53,18 @@ endif ...@@ -53,10 +53,18 @@ endif
# Rule for building shared libs (currently used only for regression test # Rule for building shared libs (currently used only for regression test
# shlib ... should go away, since this is not really enough knowledge) # shlib ... should go away, since this is not really enough knowledge)
%$(DLSUFFIX): %.o %$(DLSUFFIX): %.o
ifeq ($(with_gnu_ld), yes) ifeq ($(GCC), yes)
$(CC) $(LDFLAGS) -shared -o $@ $< 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 else
ifeq ($(with_gnu_ld), yes)
$(CC) $(LDFLAGS) -shared -o $@ $<
else
$(LD) -b -o $@ $< $(LD) -b -o $@ $<
endif
endif endif
sqlmansect = 5 sqlmansect = 5
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment