aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/diameter/src/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/diameter/src/Makefile b/lib/diameter/src/Makefile
index f6ceb7217f..6b3a5e340e 100644
--- a/lib/diameter/src/Makefile
+++ b/lib/diameter/src/Makefile
@@ -106,9 +106,11 @@ ERL_COMPILE_FLAGS += \
+'{parse_transform,sys_pre_attributes}' \
+'{attribute,insert,app_vsn,$(APP_VSN)}' \
+warn_unused_vars \
- -pa $(EBIN) \
+ -pa $(realpath $(EBIN)) \
-I $(INCDIR) \
-I gen
+# -pa is so that we can include_lib from our include directory. The
+# path has to be absolute to contain the application name.
# ----------------------------------------------------
# Targets