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.
13 lines
291 B
Bash
Executable File
13 lines
291 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Edit makefile.unix setting the vars as shown
|
|
|
|
CXX=g++
|
|
CXXFLAGS=-O2 -arch x86_64 -dynamic
|
|
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_SILENT -DSILENT
|
|
STRIP=strip
|
|
DESTDIR=$SW
|
|
WHAT=RARDLL
|
|
|
|
cd $SW/unrar && make -fmakefile.unic lib && cp libunrar.so $SW/lib/libunrar.dylib
|