mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
On some HPUX versions/hardware, it seems we need to include libgcc.a in
the regression test shared libraries.
This commit is contained in:
parent
83fea34b5b
commit
0b5c72d9ba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user