-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build plugins as DSOs instead of shared libraries
Build the plugins (tuner and net) as DSOs instead of shared libraries by adding the `-module -avoid-version` flags to the library LDFLAGS. Of course, now that the net plugin is not a shared library, we can't link against it in the tests. Rather than build a bunch of infrastructure to dlopen() the net plugin (which would mean all kinds of fun path work to make "make check" work), build the net plugin by creating a helper library that contains all the source, and building the net plugin from that. Now the helper library can be used to static link the plugin into the tests (both functional and unit). Signed-off-by: Brian Barrett <[email protected]>
- Loading branch information
Showing
3 changed files
with
33 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters