From dc1e683111376624644a9a60df86cb341f7a554d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Wed, 10 Mar 2010 07:14:46 +0100 Subject: 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. --- lib/asn1/test/Makefile | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/asn1/test/Makefile') 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 = . -- cgit v1.2.3