webmcp
diff libraries/json/Makefile @ 541:72e55c2eb63c
Use "cc -shared" instead of "ld -shared" to create *.so files
author | jbe |
---|---|
date | Sat Oct 19 15:05:55 2019 +0200 (2019-10-19) |
parents | 9ad1165cf3a1 |
children |
line diff
1.1 --- a/libraries/json/Makefile Sat Oct 12 20:35:00 2019 +0200 1.2 +++ b/libraries/json/Makefile Sat Oct 19 15:05:55 2019 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 include ../../Makefile.options 1.5 1.6 json.so: json.o 1.7 - $(LD) $(LDFLAGS) -o json.$(SLIB_EXT) json.o 1.8 + $(CC) $(SHAREDFLAGS) -o json.$(SLIB_EXT) json.o 1.9 1.10 json.o: json.c 1.11 $(CC) -c $(CFLAGS) -o json.o json.c