guile: fix static-only build
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 7 Aug 2015 10:20:39 +0000 (12:20 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 7 Aug 2015 10:20:39 +0000 (12:20 +0200)
commit49593aba5a56c9c297c31c12fc4dc3de5679e7b1
treefcbf48299541df8d24342ff22044b37672bdaed0
parentb6289cb1db9a75dfe317b4d84fb246e4cfa8d4b9
guile: fix static-only build

guile uses bdwgc, which is already compiled with GC_NO_DLOPEN in
static-only scenarios. However, the bdwgc headers continue to include
<dlfcn.h> if used with GC_NO_DLOPEN undefined.

Therefore, to make guile link properly in a static-only scenario, we
have to build it with GC_NO_DLOPEN defined.

Fixes:

  http://autobuild.buildroot.net/results/1bf/1bf73dd4c28d6607e8c24d3abf259b8032712a02/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/guile/guile.mk