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.
15 lines
617 B
Bash
Executable File
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
|