wkhtmltox icon indicating copy to clipboard operation
wkhtmltox copied to clipboard

fix clang compiler error

Open ice6 opened this issue 5 years ago • 0 comments

move variables decleard in header file to the C file to avoid clang compiler error.

below is the error:

duplicate symbol '_wkhtmltox_pdf_object_ce' in:
    .libs/wkhtmltox.o
    src/.libs/pdf.o
duplicate symbol '_wkhtmltox_pdf_ce' in:
    .libs/wkhtmltox.o
    src/.libs/pdf.o
duplicate symbol '_wkhtmltox_image_ce' in:
    .libs/wkhtmltox.o
    src/.libs/image.o
ld: 3 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

ice6 avatar Dec 29 '19 10:12 ice6