mirror of https://github.com/postgres/postgres
Unfortunately one with_gnu_ld reference remains, otherwise we could remove the configure support for determining with_gnu_ld. Reviewed-By: Thomas Munro <thomas.munro@gmail.com> Discussion: https://postgr.es/m/20220807012914.ydz73yte6j3coulo@awork3.anarazel.depull/100/head
parent
8f12a4e7ad
commit
20c105c4db
@ -1,21 +1,14 @@ |
||||
# src/makefiles/Makefile.solaris
|
||||
|
||||
AROPT = crs
|
||||
rpath = -Wl,-rpath,'$(rpathdir)'
|
||||
|
||||
ifeq ($(with_gnu_ld), yes) |
||||
export_dynamic = -Wl,-E
|
||||
rpath = -Wl,-rpath,'$(rpathdir)'
|
||||
else |
||||
rpath = -Wl,-R'$(rpathdir)'
|
||||
endif |
||||
|
||||
|
||||
# Rule for building a shared library from a single .o file
|
||||
%.so: %.o |
||||
ifeq ($(GCC), yes) |
||||
$(CC) $(CFLAGS) $< $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@
|
||||
else |
||||
$(CC) $(CFLAGS) $< $(LDFLAGS) $(LDFLAGS_SL) -G -o $@
|
||||
endif |
||||
|
||||
sqlmansect = 5sql
|
||||
|
||||
Loading…
Reference in new issue