webmcp
diff libraries/mondelefant/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 | 30391b40722f |
children |
line diff
1.1 --- a/libraries/mondelefant/Makefile Sat Oct 12 20:35:00 2019 +0200 1.2 +++ b/libraries/mondelefant/Makefile Sat Oct 19 15:05:55 2019 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 include ../../Makefile.options 1.5 1.6 mondelefant_native.so: mondelefant_native.o 1.7 - $(LD) $(LDFLAGS) $(LDFLAGS_PGSQL) -o mondelefant_native.$(SLIB_EXT) mondelefant_native.o -lpq 1.8 + $(CC) $(SHAREDFLAGS) $(SHAREDFLAGS_PGSQL) -o mondelefant_native.$(SLIB_EXT) mondelefant_native.o -lpq 1.9 1.10 mondelefant_native.o: mondelefant_native.c 1.11 $(CC) -c $(CFLAGS) $(CFLAGS_PGSQL) -o mondelefant_native.o mondelefant_native.c