package/pkg-golang: add PATH in GO_TARGET_ENV
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 2 Apr 2018 13:41:45 +0000 (15:41 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 2 Apr 2018 15:23:36 +0000 (17:23 +0200)
commitdbe32d364a5ff44c6d0bb086626ceb8cd76dee18
tree378a9dd170a86310220de7629d6f3dd35718ee92
parent3c6958423f6f66d890f2a6df8fce2c3a7fe4dc42
package/pkg-golang: add PATH in GO_TARGET_ENV

Some Go packages use pkg-config to detect native libraries, so we must
have $(BR_PATH) in the PATH so that our pkg-config in HOST_DIR gets
used.

Fixes:

  http://autobuild.buildroot.net/results/f85414244c25aba07a05109b5cd7658ae44a64ea/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/pkg-golang.mk