Details
Description
ant -Dcompile.native=false still runs autoconf and libtoolize
According to ant 1.8 manual, any <target if> conditions are checked only after the dependencies are run through. The current if condition in code fails to prevent the autoconf/libtool components from running.
Fixing it by moving the if condition up into the "compile-native" target and changing it to a param substitution instead of being evaluated as a condition.
Attachments
Attachments
Issue Links
- is duplicated by
-
HADOOP-9423 In branch-1, native configuration is generated even if compile.native is not set
- Resolved
- is related to
-
MAPREDUCE-5223 ant package shouldn't build task-controller by default
- Open
- relates to
-
HADOOP-7927 Can't build packages 205+ on OSX
- Resolved