Skip to content

PHPC-754 replace libmongoc-priv with libmongoc #357

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

puppyofkosh
Copy link
Contributor

if $PKG_CONFIG libmongoc-1.0 --atleast-version 1.3.3; then
LIBMONGOC_INC=`$PKG_CONFIG libmongoc-priv --cflags`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't --atleast-version 1.3.3 need to be changed to 1.4.0?

Are there similar changes required for the libbson package dependency? I expect they need to be kept in sync.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

libbson never had -priv, so no, thats not needed.
Good spot on --atleast-version 1.3.3 should be bumped to 1.4.0 if you decide on making that the minimum version.

We did not try to compile current php master against 1.3.3 as it currently declares as its minimum. I guess that is not correct today before or after this patch.
Before this patch, you cannot build against system mongoc 1.4, even though you do seem to require it.

@jmikola
Copy link
Member

jmikola commented Jul 29, 2016

Folding this into #362.

@jmikola jmikola closed this Jul 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants