Multiple fixes for ubuntu precise with pbuilder build #1

merged 2 commits into from May 4, 2013
Commits on May 4, 2013
  1. Add missing dependencies

    vhallac committed May 4, 2013
  2. Split LDFLAGS and LDLIBS to handle ubuntu linker failure

    vhallac committed May 4, 2013
    The default/implicit linking rule places LDFLAGS before the object. This causes
    the build to break on some systems with undefined symbol errors. Placing the
    libraries in LDLIBS pushes them after the .o file, and fixes the error.