use ldflags for wine linking
fixes issue with eg. wine-unstable: --also-libdir=/usr/lib/i386-linux-gnu/wine-unstable/
This commit is contained in:
parent
8bd53e2edb
commit
f3604814a4
@ -393,6 +393,7 @@ def build(bld):
|
||||
obj.target = 'ardour-' + str (bld.env['VERSION']) + '-vst.exe.so'
|
||||
obj.includes = [ '../libs/fst', '.' ]
|
||||
obj.linkflags = ['-mwindows', '-Wl,--export-dynamic']
|
||||
obj.linkflags += bld.env['LDFLAGS']
|
||||
obj.defines = ['_POSIX_SOURCE', 'USE_WS_PREFIX']
|
||||
obj.install_path = bld.env['DLLDIR']
|
||||
# end of the wine executable
|
||||
|
@ -62,6 +62,7 @@ def build(bld):
|
||||
'vstwin.c',
|
||||
)
|
||||
obj.linkflags = ['-mwindows', '-Wl,--export-dynamic']
|
||||
obj.linkflags += bld.env['LDFLAGS']
|
||||
obj.target = 'ardour-vst-scanner.exe.so'
|
||||
obj.uselib = ['GIOMM', 'DL']
|
||||
obj.use = [ 'libpbd' ]
|
||||
|
Loading…
Reference in New Issue
Block a user