This commit is contained in:
Thomas Nagy 2016-09-15 22:41:32 +02:00
parent 410d1568d5
commit a28385fe94
No known key found for this signature in database
GPG Key ID: 49B4C67C05277AAA
1 changed files with 7 additions and 4 deletions

View File

@ -18,7 +18,10 @@ def build(bld):
bld(
features='c',
source='test_shlib.c',
use='cshlib',
# it is -uselib' in this case to avoid propagation of '-shared'
# to the program below. A more explicit alternative is to set
# cflags=bld.env.CFLAGS_cshlib
uselib='cshlib',
target='objects-for-shlib',
)