[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetds
Subject:    [freetds] Cross-compiling for Mac Catalyst
From:       Niklas Saers <niklas () saers ! com>
Date:       2020-02-26 16:16:47
Message-ID: 0DF8952A-13FC-4E31-964B-68D9E9AFDA3E () saers ! com
[Download RAW message or body]

Hi,
First of all thanks for all the hard work that has been put into this project, and \
thank you very much for letting me join the list.

I'm trying to cross-compile FreeTDS for the different iOS platforms and for Mac \
Catalyst. I've made a project with my scripts at \
https://github.com/niklassaers/freetds-ios

If you clone it and run go.sh, it compiles iOS versions for arm64e, arm64, armv7s, \
armv7 and the simulator, plus a catalyst version. It goes seemingly fine for the iOS \
versions, but for Mac Catalyst, I get the following error:

ld: building for Mac Catalyst, but linking in dylib built for macOS, file \
'../../dblib/.libs/libsybdb.dylib' for architecture x86_64h

Any idea why I get this linker error, and how I can resolve it?

My build script for the Mac Catalyst build by itself is here: \
https://raw.githubusercontent.com/niklassaers/freetds-ios/master/build-catalyst-2.sh

Cheers

   Niklas
_______________________________________________
FreeTDS mailing list
FreeTDS@lists.ibiblio.org
https://lists.ibiblio.org/mailman/listinfo/freetds


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic