aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/test/Makefile
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-03-10 07:14:46 +0100
committerBjörn Gustavsson <[email protected]>2010-03-11 10:26:48 +0100
commitdc1e683111376624644a9a60df86cb341f7a554d (patch)
treecc9d3ba7372da7f6bb86ba333c7d5b6bed268e08 /lib/asn1/test/Makefile
parenta3202b05d648732b7d2afe3ad952782e5376a18d (diff)
downloadotp-dc1e683111376624644a9a60df86cb341f7a554d.tar.gz
otp-dc1e683111376624644a9a60df86cb341f7a554d.tar.bz2
otp-dc1e683111376624644a9a60df86cb341f7a554d.zip
asn1 tests: Don't refer to $ERL_TOP in compiler options
On Windows, $ERL_TOP contains a cygwin-style pathname that can be used in Makefiles to (for instance) include other Makefiles, but must not be passed to non-cygwin programs such as "erlc". Therefore, using compiler options such as "-I $(ERL_TOP)/lib/test_server/include" will not work on Windows. Fix this problem by include "test_server.hrl" using -include_lib() instead of -include(). That works because -include_lib() searches for include files in the code path without the need for any -I options.
Diffstat (limited to 'lib/asn1/test/Makefile')
-rw-r--r--lib/asn1/test/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/asn1/test/Makefile b/lib/asn1/test/Makefile
index 879e51c632..879447e816 100644
--- a/lib/asn1/test/Makefile
+++ b/lib/asn1/test/Makefile
@@ -145,8 +145,6 @@ RELSYSDIR = $(RELEASE_PATH)/asn1_test
# ----------------------------------------------------
# FLAGS
# ----------------------------------------------------
-ERL_COMPILE_FLAGS += -I$(ERL_TOP)/lib/test_server/include \
- -I$(ERL_TOP)/lib/kernel/include
EBIN = .