[physfs] More small fixes

Patrice Mandin mandin.patrice at orange.fr
Thu Mar 18 07:17:30 EDT 2010


Hello,

Here are two small patches.

physfs-static.diff:
 - Add OPTIONAL_LIBRARY_LIBS to the static version of physfs (so -lz
can be used at linking stage for test_physfs).
 - Use TARGET_SUPPORTS_SHARED_LIBS instead of TRUE, so platforms with
only static linking will not try to build shared versions.

physfs-threads.diff:
 - CmakeList.txt define or not PHYSFS_NO_THREAD_SUPPORT for thread
support, but src/platform_unix.c checks for PHYSFS_NO_PTHREADS_SUPPORT. 

-- 
Patrice Mandin
WWW: http://pmandin.atari.org/
Programmeur Linux, Atari
Spécialité: Développement, jeux

-------------- next part --------------
A non-text attachment was scrubbed...
Name: physfs-static.diff
Type: text/x-diff
Size: 811 bytes
Desc: not available
URL: <http://icculus.org/pipermail/physfs/attachments/20100318/5342f32e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: physfs-threads.diff
Type: text/x-diff
Size: 826 bytes
Desc: not available
URL: <http://icculus.org/pipermail/physfs/attachments/20100318/5342f32e/attachment-0001.bin>


More information about the physfs mailing list