summaryrefslogtreecommitdiff
path: root/tools/test-build
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-07-31 00:49:27 +0100
committerPeter Powell <petpow@saberuk.com>2018-07-31 03:20:18 +0100
commitd9a52277df06d656564b28e456adabbee52e8c10 (patch)
treeb4ffb2c8dbb3ecef708220826548850c68434f3b /tools/test-build
parentabbf70b2a35edaf17631e43027828011296924ad (diff)
Remove support for static modules.
This has been frequently broken in the past and as far as I know is used by literally nobody. Also, even if all modules are compiled into the core any libraries linked against are and have always been linked dynamically making this unusable on platforms without dynamic libraries.
Diffstat (limited to 'tools/test-build')
-rwxr-xr-xtools/test-build16
1 files changed, 3 insertions, 13 deletions
diff --git a/tools/test-build b/tools/test-build
index c74dbb4e0..647289569 100755
--- a/tools/test-build
+++ b/tools/test-build
@@ -58,19 +58,9 @@ foreach my $compiler (@compilers) {
say "Failed to configure using the $compiler compiler and the $socketengine socket engine!";
exit 1;
}
- if (!defined $ENV{TEST_BUILD_DYNAMIC}) {
- $ENV{INSPIRCD_STATIC} = 1;
- if (system 'make', '--jobs', get_cpu_count, 'install') {
- say "Failed to compile with static modules using the $compiler compiler and the $socketengine socket engine!";
- exit 1;
- }
- }
- if (!defined $ENV{TEST_BUILD_STATIC}) {
- delete $ENV{INSPIRCD_STATIC};
- if (system 'make', '--jobs', get_cpu_count, 'install') {
- say "Failed to compile with dynamic modules using the $compiler compiler and the $socketengine socket engine!";
- exit 1;
- }
+ if (system 'make', '--jobs', get_cpu_count, 'install') {
+ say "Failed to compile using the $compiler compiler and the $socketengine socket engine!";
+ exit 1;
}
say "Building using the $compiler compiler and the $socketengine socket engine succeeded!";
}