Top Level Namespace
Defined Under Namespace
Modules: PDFium
Constant Summary collapse
- LIB_DIRS =
[]
- HEADER_DIRS =
HEADER_DIRS = [
"/usr/include/pdfium", "/usr/local/include/pdfium", "/usr/local/include/pdfium/fpdfsdk/include", "/usr/local/include/pdfium/core/include" ]
end
[ "/home/nas/pdfium/deb-package/pdfium/fpdfsdk/include", "/home/nas/pdfium/deb-package/pdfium/core/include", "/home/nas/pdfium/deb-package/pdfium" ]
- DEBUG =
ENV['DEBUG'] == '1'
- LIBS =
The order that the libs are listed matters for Linux! to debug missing symbols you can run:
for l in `ls /usr/lib/pdfium/*.a`; do echo $l; nm $l | grep '<missing symbol>'; done
The listing with a “T” contains the symbol, the ones with a “U” depend on it. The “U” libs must come after the “T” LIBS=%w
javascript bigint freetype fpdfdoc fpdftext formfiller icudata icuuc icui18n v8_libbase v8_base v8_snapshot v8_libplatform jsapi pdfwindow fxedit fxcrt fxcodec fpdfdoc fdrm fxge fpdfapi freetype pdfium pthread freeimage
%w{pdfium freeimage}
- FRAMEWORKS =
%w{AppKit CoreFoundation}
Instance Method Summary collapse
Instance Method Details
#existing(dirs) ⇒ Object
4 5 6 |
# File 'ext/pdfium_ext/extconf.rb', line 4 def existing(dirs) dirs.select{|dir| Dir.exist?(dir) } end |