mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
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
2 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue