diff options
author | Pete Batard <pbatard@gmail.com> | 2010-03-05 20:11:14 +0000 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-03-05 20:11:14 +0000 |
commit | 122229e5f94f5bd97d97c9d0d8b7dd0deb4ea15d (patch) | |
tree | 13301927fd4ea08fd73d92b6d1d73b8e31305f00 /libusb | |
parent | 0da28601fa468b52a5a98df634bddb57eb18d2fa (diff) | |
download | libusb-122229e5f94f5bd97d97c9d0d8b7dd0deb4ea15d.tar.gz |
added .rc info to DLLs produced with MinGW/cygwinr197
Diffstat (limited to 'libusb')
-rw-r--r-- | libusb/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libusb/Makefile.am b/libusb/Makefile.am index c252b3d..6152daa 100644 --- a/libusb/Makefile.am +++ b/libusb/Makefile.am @@ -8,7 +8,7 @@ endif LINUX_USBFS_SRC = $(THREADS_SRC) os/poll_posix.h os/linux_usbfs.h os/linux_usbfs.c DARWIN_USB_SRC = $(THREADS_SRC) os/poll_posix.h os/darwin_usb.h os/darwin_usb.c -WINDOWS_USB_SRC = $(THREADS_SRC) os/poll_windows.h os/poll_windows.c os/windows_usb.h os/windows_usb.c +WINDOWS_USB_SRC = $(THREADS_SRC) os/poll_windows.h os/poll_windows.c os/windows_usb.h os/windows_usb.c ../msvc/libusb-1.0.rc EXTRA_DIST = $(LINUX_USBFS_SRC) $(DARWIN_USB_SRC) $(WINDOWS_USB_SRC) @@ -23,6 +23,8 @@ endif if OS_WINDOWS OS_SRC = $(WINDOWS_USB_SRC) +.rc.lo: + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(RC) $(RCFLAGS) -i $< -o $@ endif libusb_1_0_la_CFLAGS = $(VISIBILITY_CFLAGS) $(AM_CFLAGS) |