blob: 6f9cb1d45d1683545da6fbfad8809f233a475c7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
AROPT = cr
export_dynamic = -Wl,-E
rpath = -Wl,-R'$(rpathdir)'
DLSUFFIX = .so
# Rule for building a shared library from a single .o file
%.so: %.o
$(CC) $(CFLAGS) $< $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@
|