Last active
August 29, 2015 14:26
-
-
Save jjo/41e5d95d8a33fd3f5e01 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Allows eg: | |
CLASSPATH=/path/to/hadoop-common-x.y.z.jar ant compile-native | |
diff --git a/build.xml b/build.xml | |
index cc9bfd0..b9da3e9 100644 | |
--- a/build.xml | |
+++ b/build.xml | |
@@ -226,7 +226,8 @@ | |
<mkdir dir="${build.native}/lib"/> | |
<mkdir dir="${build.native}/src/com/hadoop/compression/lzo"/> | |
- <javah classpath="${build.classes}" | |
+ <property environment="env"/> | |
+ <javah classpath="${build.classes}:${env.CLASSPATH}" | |
destdir="${build.native}/src/com/hadoop/compression/lzo" | |
force="yes" | |
verbose="yes"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment