Fix cygwin64 build. Closes issue #227
This commit is contained in:
parent
811e02bf87
commit
963072f05d
@ -5,8 +5,13 @@ import sys
|
||||
sysname = os.uname()[0]
|
||||
top = os.path.join('..', '..')
|
||||
|
||||
|
||||
library_dirs = [os.path.join(top, 'lib')]
|
||||
libraries = ['recoll']
|
||||
if "CYGWIN" in os.environ:
|
||||
libraries = ['recoll', 'xapian', 'iconv', 'z']
|
||||
else:
|
||||
libraries = ['recoll']
|
||||
|
||||
|
||||
if 'libdir' in os.environ and os.environ['libdir'] != "":
|
||||
runtime_library_dirs = [os.path.join(os.environ['libdir'], 'recoll')]
|
||||
|
||||
@ -29,7 +29,7 @@ OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
#if defined(__gnu_linux__) || \
|
||||
(defined(__FreeBSD_kernel__)&&defined(__GLIBC__)&&!defined(__FreeBSD__)) ||\
|
||||
defined(__CYGWIN32__)
|
||||
defined(__CYGWIN__)
|
||||
#define PXALINUX
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user