Fix cygwin64 build. Closes issue #227
This commit is contained in:
parent
225747ad8c
commit
0797bbb9b3
2 changed files with 7 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue