aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/Makefile
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2010-02-10 09:46:08 +0000
committerErlang/OTP <[email protected]>2010-02-10 09:46:08 +0000
commitd115b311ca388145fb1aebf385206c47d3cc9ec1 (patch)
treea4ff6c1e556afad614847402499e252221ba2dc5 /lib/kernel/src/Makefile
parent7c0ca6e0bd1025c06358a154c26dd59629e94162 (diff)
downloadotp-d115b311ca388145fb1aebf385206c47d3cc9ec1.tar.gz
otp-d115b311ca388145fb1aebf385206c47d3cc9ec1.tar.bz2
otp-d115b311ca388145fb1aebf385206c47d3cc9ec1.zip
Support the configure option --enable-native-libs
Diffstat (limited to 'lib/kernel/src/Makefile')
-rw-r--r--lib/kernel/src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/kernel/src/Makefile b/lib/kernel/src/Makefile
index cd011f09fe..9db6014a7d 100644
--- a/lib/kernel/src/Makefile
+++ b/lib/kernel/src/Makefile
@@ -143,6 +143,9 @@ APPUP_TARGET= $(EBIN)/$(APPUP_FILE)
# FLAGS
# ----------------------------------------------------
+ifeq ($(NATIVE_LIBS_ENABLED),yes)
+ERL_COMPILE_FLAGS += +native
+endif
ERL_COMPILE_FLAGS += -I../include
# ----------------------------------------------------