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
|
# 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user