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

ports/posix: Allow building with -static, skipping readline #70

Closed
wants to merge 1 commit into from

Conversation

keith-packard
Copy link
Owner

With this patch,

$ make STATIC=1

will build the posix snek port as a static executable.

It seems that libreadline doesn't like to be used with static executables because it wants to dlopen some helper libaries. To work around this, just skip readline in this case.

See issue #38 for a possible use case.

Signed-off-by: Keith Packard [email protected]

With this patch,

	$ make STATIC=1

will build the posix snek port as a static executable.

It seems that libreadline doesn't like to be used with static
executables because it wants to dlopen some helper libaries.  To work
around this, just skip readline in this case.

Signed-off-by: Keith Packard <[email protected]>
@keith-packard keith-packard deleted the posix-static branch December 11, 2022 07:05
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.

1 participant