summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.solaris
blob: acdf44cc0f2368abd6fceab15e4e90fa927e87e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# src/makefiles/Makefile.solaris

AROPT = crs
rpath = -Wl,-rpath,'$(rpathdir)'

ifeq ($(with_gnu_ld), yes)
export_dynamic = -Wl,-E
endif

# Rule for building a shared library from a single .o file
%.so: %.o
	$(CC) $(CFLAGS) $< $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@

sqlmansect = 5sql