Skip to content

Add AC_SEARCH_LIBS stanzas for kqueue and pthread_workqueue #12

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

Closed
wants to merge 1 commit into from

Conversation

dgrove-oss
Copy link
Contributor

If libdispatch is using functions found in libkqueue or
libpthread_workqueue, then we want libdispatch.so to
depend on those libraries. Putting in AC_SEARCH_LIBS
stanzas results in the proper linker flags being added when
libdispatch.so is built. Therefore the application compilation
command can simply say -ldispatch and not need to explicitly
mention -lkqueue and -lpthread_workqueue.

If libdispatch is using functions found in libkqueue or
libpthread_workqueue, then we want libdispatch.so to
depend on those libraries. Putting in AC_SEARCH_LIBS
stanzas results in the proper linker flags being added when
libdispatch.so is built. Therefore the application compilation
command can simply say -ldispatch and not need to explicitly
mention -lkqueue and -lpthread_workqueue.
@dgrove-oss
Copy link
Contributor Author

Redone change as suggested and submitted a new pull request. Closing this one.

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.

2 participants