We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83fea34 commit 0b5c72dCopy full SHA for 0b5c72d
src/makefiles/Makefile.hpux
@@ -53,10 +53,18 @@ endif
53
# Rule for building shared libs (currently used only for regression test
54
# shlib ... should go away, since this is not really enough knowledge)
55
%$(DLSUFFIX): %.o
56
-ifeq ($(with_gnu_ld), yes)
57
- $(CC) $(LDFLAGS) -shared -o $@ $<
+ifeq ($(GCC), yes)
+ ifeq ($(with_gnu_ld), yes)
58
+ $(CC) $(LDFLAGS) -shared -o $@ $< `$(CC) $(LDFLAGS) -print-libgcc-file-name`
59
+ else
60
+ $(LD) -b -o $@ $< `$(CC) $(LDFLAGS) -print-libgcc-file-name`
61
+ endif
62
else
63
64
+ $(CC) $(LDFLAGS) -shared -o $@ $<
65
66
$(LD) -b -o $@ $<
67
68
endif
69
70
sqlmansect = 5
0 commit comments