Phonon include header fix, once and for all

Thiago Macieira thiago at kde.org
Fri Dec 11 14:43:54 GMT 2009


Em Sexta-feira 11 Dezembro 2009, às 14:33:52, Thiago Macieira escreveu:
> > I have another suggestion, but only based on the problems you listed.
> > If it is possible to have symbolic library link in Mac, you could have
> > both libPhonon and libphonon.
> 
> No. The HFS+ filesystem is case-insensitive. But Mac can also run on ZFS
>  which  is case-sensitive.
> 
> I also don't know if Apple's toolchain works with frameworks that are 
> symlinks.

At least the case-insensitiveness helps:

$ gcc -E -xc - <<<'#include <systemconfiguration/systemconfiguration.h>' > 
/dev/null; echo $?
0

$ gcc -framework systemconfiguration -xc - <<<'int main() { }'; echo $?
0
$ otool -L a.out
a.out:
        /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 
(compatibility version 1.0.0, current version 212.2.0)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current 
version 1.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 111.1.1)

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20091211/64f3ebec/attachment.sig>
-------------- next part --------------
_______________________________________________
kde-multimedia mailing list
kde-multimedia at kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia


More information about the kde-multimedia mailing list