Skip to content

Commit

Permalink
wscript: omit implibs from installation
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Nov 27, 2024
1 parent 084af75 commit 61f9455
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion wscript
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# encoding: utf-8
# a1batross, mittorn, 2018

from waflib import Build, Configure, Context, Logs
from waflib import Build, Configure, Context, Logs, TaskGen
import sys
import os
import re
Expand All @@ -20,6 +20,12 @@ def get_taskgen_count(self):
except: idx = 0 # don't set tg_idx_count to not increase counter
return idx

@TaskGen.feature('cshlib', 'cxxshlib', 'fcshlib')
@TaskGen.before_method('apply_implib')
def remove_implib_install(self):
if not getattr(self, 'install_path_implib', None):
self.install_path_implib = None

def options(opt):
opt.load('reconfigure compiler_optimizations xcompile compiler_cxx compiler_c clang_compilation_database strip_on_install msdev msvs subproject')

Expand Down

0 comments on commit 61f9455

Please sign in to comment.