mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Caused by a regression in Qt. https://bugreports.qt.io/browse/QTBUG-46882 Also, add the build scripts for calibre dependencies on OSX and linux to the source tree.
12 lines
325 B
Bash
Executable File
12 lines
325 B
Bash
Executable File
#!/bin/sh
|
|
|
|
export LIBUSB_CFLAGS="-I$SW/include/libusb-1.0"
|
|
export LIBUSB_LIBS="-L$SW/lib -lusb-1.0"
|
|
export CFLAGS="$CFLAGS -DHAVE_ICONV"
|
|
export LDFLAGS="$LDFLAGS -liconv"
|
|
|
|
cd $SW/build/libmtp-* && \
|
|
./configure --disable-dependency-tracking --disable-static --prefix=$SW --with-libiconv-prefix=$SW && \
|
|
make && make install
|
|
|