build: Include libtdl and libusb in the windows release zip file

(Still need to bundle a copy of the LGPL-2.1 license and some sort of
 README.LIB)

Now on my Win7 VM, the backend doesn't seem to find anything.  Don't
know why, but I will need to try it on a non-VM system first.
This commit is contained in:
Solomon Peachy 2020-01-28 07:49:10 -05:00
parent 641e4b049d
commit c627375b10

View file

@ -5,6 +5,7 @@
# Windows stuff needs to end in .exe
ifneq (,$(findstring mingw,$(CC)))
MINGW_LIBS=/usr/x86_64-w64-mingw32/sys-root/mingw/bin
EXEC_SUFFIX=.exe
LIB_SUFFIX=dll
else
@ -163,6 +164,7 @@ ifeq (,$(findstring mingw,$(CC)))
tar -czvf selphy_print-src$(REVISION).tar.gz selphy_print$(REVISION)
else
cp -a $(EXEC_NAME) $(LIBRARIES) selphy_print$(REVISION)
cp -a $(MINGW_LIBS)/libltdl*.dll $(MINGW_LIBS)/libusb*.dll selphy_print$(REVISION)
$(MKDIR) -p selphy_print$(REVISION)/$(BACKEND_DATA_DIR)
cp -a hiti_data lib70x/data/* selphy_print$(REVISION)/$(BACKEND_DATA_DIR)
cp -a lib70x/README selphy_print$(REVISION)/$(BACKEND_DATA_DIR)/README-lib70x