build: fix configuring with prebuilt libraries
authorMarkus Tzoe <chou.marcus@gmail.com>
Wed, 30 Sep 2015 18:27:17 +0000 (02:27 +0800)
committerJames M Snell <jasnell@gmail.com>
Wed, 23 Dec 2015 16:38:33 +0000 (08:38 -0800)
commit3a90e0c33fcf748f49aa8d44bc68141a9b4a0b5c
tree86eff9def11231fc78034f8169323b5b8fd13e52
parent3c158af66e0fa5423163c39a910eb063dfa1f5dd
build: fix configuring with prebuilt libraries

Fix configure_library() to produce correct LDFLAGS when configuring with
prebuilt 3rd-party libraries (libuv, openssl, etc) using `pkg-config' or
`--shared-{LIBRARY}-includes=xxx --shared-{LIBRARY}-libpath=xxx'.

PR-URL: https://github.com/nodejs/node/pull/3135
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
configure