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

Fix build for macos #143

Merged
merged 4 commits into from
Mar 10, 2020
Merged

Fix build for macos #143

merged 4 commits into from
Mar 10, 2020

Conversation

livelazily
Copy link

@livelazily livelazily commented Mar 10, 2020

PF header file urls in Makefile are outdated, faild to build on macOS mojave.

Update this urls to make build success.

@semigodking semigodking merged commit a11c058 into semigodking:master Mar 10, 2020
@luckypoem
Copy link

@livelazily

git clone https://github.com/HaoH/redsocks redsocks-by-HaoH
cd redsocks-by-HaoH
make OSX_VERSION=master DISABLE_SHADOWSOCKS=true
显示:

base.c:41:11: fatal error: ‘net/pfvar.h’ file not found
include <net/pfvar.h>
^
1 error generated.
make: *** [base.o] Error 1

我在这里https://opensource.apple.com/source/xnu/xnu-3789.70.16/bsd/net/pfvar.h.auto.html看到pfvar.h文件的内容,但是不知该把它复制到哪里去。

非常感谢你的回复

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