sudo port install 所有差的库,
只有openssl 安装了还要提示下面的错误:
Please install the openssl library (with development headers)
解决方案如下:
找到 OpenWrt/include/host-build.mk
ifeq ($(HOST_OS),Darwin) HOST_CFLAGS += -I/usr/local/opt/openssl/include HOST_LDFLAGS += -L/usr/local/opt/openssl/lib endif
改为:
ifeq ($(HOST_OS),Darwin) HOST_CFLAGS += -I/opt/local/include HOST_LDFLAGS += -L/opt/local/lib endif
随意转载,注明出处:https://doorxp.com/?id=69