Ticket #23770: patch-drivers-Makefile.in.diff

File patch-drivers-Makefile.in.diff, 702 bytes (added by tomldavis@…, 15 years ago)
  • drivers/Makefile.in

    old new  
    66all: $(DRIVERS)
    77
    88libusb.so: libusb.c $(LISTS) Makefile
    9 #       $(CC) $(CPPFLAGS) $(CFLAGS) $(SHAREARG) $(LDFLAGS) -lusb-1.0 $< $(LISTS) -o $@
    10         $(CC) $(CPPFLAGS) $(CFLAGS) $(SHAREARG) -lusb-1.0 $< $(LISTS) -o $@
     9        $(CC) -undefined dynamic_lookup $(CPPFLAGS) $(CFLAGS) $(SHAREARG) $(LDFLAGS) -lusb-1.0 $< $(LISTS) -o $@
    1110
    1211libusbpre1.so: libusbpre1.c $(LISTS) Makefile
    13         $(CC) $(CPPFLAGS) $(CFLAGS) $(SHAREARG) -lusb $< $(LISTS) -o $@
     12        $(CC) -undefined dynamic_lookup $(CPPFLAGS) $(CFLAGS) $(SHAREARG) $(LDFLAGS) -lusb $< $(LISTS) -o $@
    1413
    1514.PHONY: clean
    1615clean: