aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-10-17 18:36:51 +0200
committerAnders Svensson <[email protected]>2011-10-18 15:37:46 +0200
commitaf9759875f237353339fad921ad82a712f889dcc (patch)
tree444ae7f5f678c18391ac956ccb08d2e449738e0c /lib/diameter
parent0f5d56109d7b51298a2c90dae1b11ba5819471b2 (diff)
downloadotp-af9759875f237353339fad921ad82a712f889dcc.tar.gz
otp-af9759875f237353339fad921ad82a712f889dcc.tar.bz2
otp-af9759875f237353339fad921ad82a712f889dcc.zip
Need absolute -pa for bootstrap build
Otherwise include_lib will fail.
Diffstat (limited to 'lib/diameter')
-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