1 # src/makefiles/Makefile.solaris
5 ifeq ($(with_gnu_ld), yes)
6 export_dynamic = -Wl,-E
7 rpath = -Wl,-rpath,'$(rpathdir)'
9 rpath = -Wl,-R'$(rpathdir)'
19 # Rule for building a shared library from a single .o file
22 $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@ $<
24 $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_SL) -G -o $@ $<