- Notifications
You must be signed in to change notification settings - Fork101
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Enable readline on FreeBSD#88
base:master
Are you sure you want to change the base?
Conversation
Then why are you setting CFLAGS += -I$(prefix)? That seems wrong. The 'prefix' is where you're building to install mujs; that has nothing to do with where we can find readline. |
On FreeBSD all packages are installed into one location, usually with |
Practically speaking, there is no need to separate |
But why would you even want to build them together like that to begin with? Doesn't make much sense at all to do that. Just compile the two libraries separately and then link the object files in the final step. Simple enough anyway. |
They aren't built together. They each are its own port. |
On FreeBSD
It is always the same location on BSDs. According to GNU standards, |
@ccxvii Could you please merge this PR? It allows FreeBSD users to use readline with MuJS, which is otherwise not found.
|
CFLAGS
addition is needed because thereadline.h
header is located under prefix, usually/usr/local
.