marcus905 / libnfc

Automatically exported from code.google.com/p/libnfc
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Fix compilation on Mac OS X #195

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The way you use the PCSC framework on Mac OS X is not correct.

You should use:
#include <PCSC/winscard.h>
to include the header with no need to define libpcsclite_CFLAGS

Use libpcsclite_LIBS="-framework PCSC" instead of 
libpcsclite_LIBS="-Wl,-framework,PCSC"

Proposed patch attached.

Original issue reported on code.google.com by ludovic....@gmail.com on 12 May 2012 at 8:44

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1383.

Original comment by ludovic....@gmail.com on 16 May 2012 at 1:34