Kovid Goyal 95f29656fa Edit Book: Fix undocked windows not resizable on OS X
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.
2016-06-20 11:03:03 +05:30

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