mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-11 17:05:50 +01: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.
11 lines
361 B
Bash
Executable file
11 lines
361 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-mtpz --disable-dependency-tracking --disable-static --prefix=$SW --with-libiconv-prefix=$SW --with-udev=$SW/udev && \
|
|
make && make install
|
|
|