Skip to content

Commit 7774c93

Browse files
author
Simon Marlow
committed
don't install Typeable.h, fixes #1106
1 parent e9127f0 commit 7774c93

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

include/Makefile

+6-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ include $(TOP)/mk/boilerplate.mk
77
H_FILES = $(wildcard *.h)
88

99
includedir = $(libdir)/include
10-
INSTALL_INCLUDES = $(H_FILES)
10+
11+
# Typeable.h doesn't need to be installed, and in fact it'll clobber the
12+
# Typeable.h from package base (which arguably doesn't need to be installed
13+
# either, but apparently some people use it...). See bug #1106. The Cabal
14+
# description for network already does the right thing here.
15+
INSTALL_INCLUDES = $(filter-out Typeable.h,$(H_FILES))
1116

1217
DIST_CLEAN_FILES += HsNetworkConfig.h
1318

0 commit comments

Comments
 (0)