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

15 lines
617 B
Bash
Executable File

#!/bin/bash
if [[ `uname -m` == "i686" ]]; then
openssltarget=linux-elf;
optflags=''
else
openssltarget=linux-x86_64;
optflags='enable-ec_nistp_64_gcc_128';
fi
cd $SW/build/openssl-* && \
./Configure --prefix=/usr --openssldir=/etc/ssl shared zlib $optflags $openssltarget -Wa,--noexecstack $CFLAGS $LDFLAGS && make && make test && \
rm -rf $SW/openssl && rm -rf $SW/include/openssl && rm -f $SW/lib/libcrypto* $SW/lib/libssl* && \
make INSTALL_PREFIX=$SW/openssl install_sw && cp -ra $SW/openssl/usr/include/openssl $SW/include/ && cp -a $SW/openssl/usr/lib/lib*.so* $SW/lib && \
rm -rf $SW/openssl