Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 56b102a

Browse files
committed
This fixes the regression test .so builds on sysv5 systems:
I believe this will fix peter_e's problen with gcc. Larry Rosenman
1 parent e30b283 commit 56b102a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/makefiles/Makefile.unixware

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,13 @@ CXXFLAGS_SL = -fpic
1616
else
1717
CXXFLAGS_SL = -K PIC
1818
endif
19+
ifeq ($(GCC), yes)
20+
SO_FLAGS = -shared
21+
else
22+
SO_FLAGS = -G
23+
endif
1924

2025
%.so: %.o
21-
$(LD) -G -Bdynamic -o $@ $<
26+
$(CC) $(SO_FLAGS) -Bdynamic -o $@ $<
2227

2328
sqlmansect = 5sql

0 commit comments

Comments
 (0)