diff options
Diffstat (limited to 'overlays/libdscp/src')
-rw-r--r-- | overlays/libdscp/src/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/overlays/libdscp/src/Makefile b/overlays/libdscp/src/Makefile index e76930d7..9b8baf22 100644 --- a/overlays/libdscp/src/Makefile +++ b/overlays/libdscp/src/Makefile | |||
@@ -8,9 +8,11 @@ all: libdscp | |||
8 | 8 | ||
9 | libdscp: | 9 | libdscp: |
10 | $(CC) \ | 10 | $(CC) \ |
11 | -static \ | ||
11 | -o $@.so $@.c \ | 12 | -o $@.so $@.c \ |
12 | -D_GNU_SOURCE \ | 13 | -D_GNU_SOURCE \ |
13 | -nostartfiles -shared | 14 | -nostartfiles -shared \ |
15 | -lc | ||
14 | install: libdscp | 16 | install: libdscp |
15 | install -d $(DESTDIR)$(PREFIX)/lib/ | 17 | install -d $(DESTDIR)$(PREFIX)/lib/ |
16 | install -m 644 libdscp.so $(DESTDIR)$(PREFIX)/lib/ | 18 | install -m 644 libdscp.so $(DESTDIR)$(PREFIX)/lib/ |