提交 56b102a9 编写于 作者: B Bruce Momjian

This fixes the regression test .so builds on sysv5 systems:

I believe this will fix peter_e's problen with gcc.

Larry Rosenman
上级 e30b283f
......@@ -16,8 +16,13 @@ CXXFLAGS_SL = -fpic
else
CXXFLAGS_SL = -K PIC
endif
ifeq ($(GCC), yes)
SO_FLAGS = -shared
else
SO_FLAGS = -G
endif
%.so: %.o
$(LD) -G -Bdynamic -o $@ $<
$(CC) $(SO_FLAGS) -Bdynamic -o $@ $<
sqlmansect = 5sql
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册