forked from douban/mesos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure we pass CXXFLAGS when building Python eggs.
Python's distuils doesn't look automagically at CXXFLAGS, so we need to pass it along embedded in CFLAGS. This bug manifested on OS X using clang because we build libmesos with C++11 but not the Python EGG, and so the Python EGG can't find certain symbols in libmesos (because C++11 compiled symbols can have different signatures). In addition to making sure we pass CXXFLAGS, the CXXFLAGS that are saved in PYTHON_CXXFLAGS (and the LDFLAGS for that matter) are not finalized when we do our Python configure checks so some code was moved around to make sure we do Java and Python at the bottom.
- Loading branch information
Showing
2 changed files
with
126 additions
and
123 deletions.
There are no files selected for viewing
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
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