Skip to content
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

core: link with libarchive on MacOS platform #372

Closed
wants to merge 1 commit into from

Conversation

dilaroga
Copy link

This change allow to link libarchive on mac platform with a default libarchive installation.

@trollixx
Copy link
Member

Hi,

Sorry, I won't merge this. I have explained my reasons here.

@trollixx trollixx closed this Jul 26, 2015
@apanzerj
Copy link

apanzerj commented Oct 24, 2016

Hey @trollixx just putting a note here for others wondering about this:

You need to change core.pri and add:

macx-clang: {
    INCLUDEPATH += /usr/local/Cellar/libarchive/3.2.1/include
    LIBS += -L/usr/local/Cellar/libarchive/3.2.1/lib -larchive
    INCLUDEPATH += /usr/local/Cellar/sqlite/3.15.0/include
    LIBS += -L/usr/local/Cellar/sqlite/3.15.0/lib -lsqlite3
}

Change the versions to the ones that match your homebrew setup.

I used this document: http://mazhuang.org/2016/01/16/build-zeal-for-mac-osx/

It's in Chinese but google translate does a damn fine job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants