aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
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/stdlib
parent7c0ca6e0bd1025c06358a154c26dd59629e94162 (diff)
downloadotp-d115b311ca388145fb1aebf385206c47d3cc9ec1.tar.gz
otp-d115b311ca388145fb1aebf385206c47d3cc9ec1.tar.bz2
otp-d115b311ca388145fb1aebf385206c47d3cc9ec1.zip
Support the configure option --enable-native-libs
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stdlib/src/Makefile b/lib/stdlib/src/Makefile
index 37c836a254..237818c08b 100644
--- a/lib/stdlib/src/Makefile
+++ b/lib/stdlib/src/Makefile
@@ -146,6 +146,9 @@ APPUP_TARGET= $(EBIN)/$(APPUP_FILE)
# FLAGS
# ----------------------------------------------------
+ifeq ($(NATIVE_LIBS_ENABLED),yes)
+ERL_COMPILE_FLAGS += +native
+endif
ERL_COMPILE_FLAGS += -I../include -I../../kernel/include
# ----------------------------------------------------