1
0

100-Makefile.patch 929 B

12345678910111213141516171819202122232425
  1. diff -Naur tinycdb-0.78/Makefile tinycdb-0.78.patched/Makefile
  2. --- tinycdb-0.78/Makefile 2012-05-11 18:17:47.000000000 +0400
  3. +++ tinycdb-0.78.patched/Makefile 2014-09-29 00:10:00.610836323 +0400
  4. @@ -86,17 +86,17 @@
  5. $(SHAREDLIB): $(LIB_OBJS_PIC) $(LIBMAP)
  6. -rm -f $(SOLIB)
  7. ln -s $@ $(SOLIB)
  8. - $(LD) $(LDFLAGS) $(LDFLAGS_SHARED) -o $@ \
  9. + $(CC) $(LDFLAGS) $(LDFLAGS_SHARED) -o $@ \
  10. $(LDFLAGS_SONAME)$(SHAREDLIB) $(LDFLAGS_VSCRIPT)$(LIBMAP) \
  11. $(LIB_OBJS_PIC)
  12. cdb: cdb.o $(CDB_USELIB)
  13. - $(LD) $(LDFLAGS) -o $@ cdb.o $(CDB_USELIB)
  14. + $(CC) $(LDFLAGS) -o $@ cdb.o $(CDB_USELIB)
  15. cdb-shared: cdb.o $(SHAREDLIB)
  16. - $(LD) $(LDFLAGS) -o $@ cdb.o $(SHAREDLIB)
  17. + $(CC) $(LDFLAGS) -o $@ cdb.o $(SHAREDLIB)
  18. $(NSS_CDB): $(NSS_OBJS) $(NSS_USELIB) $(NSSMAP)
  19. - $(LD) $(LDFLAGS) $(LDFLAGS_SHARED) -o $@ \
  20. + $(CC) $(LDFLAGS) $(LDFLAGS_SHARED) -o $@ \
  21. $(LDFLAGS_SONAME)$@ $(LDFLAGS_VSCRIPT)$(NSSMAP) \
  22. $(NSS_OBJS) $(NSS_USELIB)