Update static-build.sh

fixed typo in static build scripts usage
Merge pull request #21 from sni/master

fixed typo
Don't return freed memory from wkhtmltopdf_phase_description and wkhtmltopdf_progress_string.
( https://code.google.com/p/wkhtmltopdf/issues/detail?id=1086 )
Merge branch 'master' of https://github.com/antialize/wkhtmltopdf
Merge pull request #22 from poizan42/master

Don't return freed memory from wkhtmltopdf_phase_description and wkhtmltopdf_progress_string
Delete infinite warnings into console about window status 

http://code.google.com/p/wkhtmltopdf/issues/detail?id=648
Creating the build directory when building linux local

The build currently happens on wkhtmltopdf/static-build/linux-local, however the packer expects it to happen on wkhtmltopdf/static-build/linux-local/build as consequences builds for linux-local are failing right now.

All the others builds happens on the `build` directory too.
Merge pull request #25 from renan/patch-1

Creating the build directory when building linux local
Merge pull request #23 from esemi/patch-1

Delete infinite warnings into console about window status
Being explicit about xrender support

Xrender support is needed to build the webkit module.

The default value for xrender is auto, so if there is no xrender it silently continues to build.
QT is build fine, but wkhtmltopdf fails because of no webkit support.

Be being explicit we make sure webkit will be installed, if xrender support can't be enabled, it will fail and save time.
Merge pull request #26 from renan/patch-2

Being explicit about xrender support
Commit patch by shutton closing issue 550
Fix Issue #1277: Avoid premature deletion of ResourceObject (which my be still being referenced by some other object handling some signal) by using deleteLater instead of delete.
Merge pull request #29 from pruiz/issue-1277

Fix Issue #1277: Avoid premature deletion of ResourceObject (which my be still being referenced by some other object handling some signal) by using deleteLater instead of delete.
Removed some memory errors detected by valgrind, and added a couple of asserts to help exposing unexpected faults.
Added another disposed object usage check, along with a few more replacements of delete by deleteLater().
Apply deleteLater() to converter instance's destruction C-API method.
Try to ensure no more web requests can be made by finished resource objects (like when a JS script is trying to reload, etc.)
Fixed crash when converting an URL with HTTP authentication, using '--load-error-handling skip' which results in a crash at pdfconverter due to an unitialized QWebPrinter (as there's no resulting page to print at all..)
Avoid delaying calls to ResourceObject::loadDone() when the resource failed to load, as no JS code would be invoked at all.