swig: make it compile even if pcre libs are not available
authorJohn Crispin <[email protected]>
Tue, 20 Oct 2015 11:23:30 +0000 (13:23 +0200)
committerJohn Crispin <[email protected]>
Tue, 20 Oct 2015 11:26:25 +0000 (13:26 +0200)
Signed-off-by: John Crispin <[email protected]>
utils/swig/Makefile

index b7340ca9ff97bee4ddc4c672cde4931c97e2e625..7b9c4f09fc41b8d0e1458dc67ce22cecf3c9f03f 100644 (file)
@@ -28,6 +28,9 @@ define Package/swig
   BUILDONLY:=1
 endef
 
+HOST_CONFIGURE_ARGS+= \
+       --without-pcre
+
 define Package/swig/description
   tool that generates bindings for various languages
 endef