diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-11-27 17:30:03 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-11-27 18:32:08 +0100 |
commit | 5c53ea26e52fa764ab5a7328a7513833cb7b46f6 (patch) | |
tree | d2d3ebb27162fcacf80779e7d12aef116d69102e /config | |
parent | 41daac0bff1c8cafc88883d67624f2db9ee1ab8a (diff) |
Try to use only libraries from the prefix
Diffstat (limited to 'config')
-rw-r--r-- | config/windows.config | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/config/windows.config b/config/windows.config index c8d8dbe..17d9b40 100644 --- a/config/windows.config +++ b/config/windows.config @@ -51,7 +51,7 @@ ccache = use_ccache and 'ccache ' or '' # Toolchain environment os.environ['CFLAGS'] += "-DWINVER=0x0501" -os.environ['LDFLAGS'] = "-L%s/lib %s" % (toolchain_prefix, os.environ.get('LDFLAGS', '')) +os.environ['LIBRARY_PATH'] = "%s/lib" % prefix os.environ['CXXFLAGS']=os.environ['CFLAGS'] os.environ['CC']= '%s%s' % (ccache, cmd('gcc')) os.environ['CXX']= '%s%s' % (ccache, cmd('g++')) @@ -66,8 +66,6 @@ os.environ['WINDRES']= cmd('windres') os.environ['RC']= cmd('windres') os.environ['DLLTOOL']= cmd('dlltool') os.environ['PATH'] = '%s/bin%s%s' % (toolchain_prefix, separator, os.environ['PATH']) -# for libgcc_s_sjlj-1.dll -os.environ['PATH'] += '%s%s/%s/lib' % (separator, toolchain_prefix, host) os.environ['ne_cv_libsfor_socket'] = '-lws2_32' os.environ['ne_cv_libsfor_gethostbyname'] = '-lws2_32' |