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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy