From 0cd1279ceaf5ec7c654d923545b451ab1d7ce895 Mon Sep 17 00:00:00 2001 From: David Scott Date: Mon, 5 Jun 2017 17:21:32 +0100 Subject: [PATCH] Don't link PPX rewriters into clients The package cstruct.ppx contains helper functions for the PPX rewriter itself. Linking this code into applications makes them larger and also brings in a dependency on compiler-libs which pollutes the global module namespace with names like Types. See mirage/mirage-www#556 Signed-off-by: David Scott --- core/jbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/jbuild b/core/jbuild index c2fae74b..49e28b8d 100644 --- a/core/jbuild +++ b/core/jbuild @@ -2,7 +2,7 @@ ((name xenstore) (public_name xenstore) (wrapped false) - (libraries (cstruct cstruct.ppx)) + (libraries (cstruct)) (preprocess (pps (cstruct.ppx))) ))