mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-21 03:13:05 +08:00
This fixes the regression test .so builds on sysv5 systems:
I believe this will fix peter_e's problen with gcc. Larry Rosenman
This commit is contained in:
parent
e30b283f30
commit
56b102a96e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user