X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=debian%2Fpatches.debian%2F01_use_pkg-config_for_pcsc-lite_module.patch;fp=debian%2Fpatches.debian%2F01_use_pkg-config_for_pcsc-lite_module.patch;h=5964ad96272537167507b09a303fbbe47281bbdb;hb=578a3b75b2f26503cbda8eb229e56e922bab441d;hp=0000000000000000000000000000000000000000;hpb=c8878307c4a5a163c459ecb5e83f6f61a2f33eb7;p=wpasupplicant diff --git a/debian/patches.debian/01_use_pkg-config_for_pcsc-lite_module.patch b/debian/patches.debian/01_use_pkg-config_for_pcsc-lite_module.patch new file mode 100644 index 0000000..5964ad9 --- /dev/null +++ b/debian/patches.debian/01_use_pkg-config_for_pcsc-lite_module.patch @@ -0,0 +1,17 @@ +From: Reinhard Tartler +References: none +Description: Use pkg-config for libpcsclite linkage flags + At least in debian, we can rely on pkg-config being available and + returning more accurate ldflags. + +--- a/wpa_supplicant/Makefile ++++ b/wpa_supplicant/Makefile +@@ -579,7 +579,7 @@ ifdef CONFIG_NATIVE_WINDOWS + #dynamic symbol loading that is now used in pcsc_funcs.c + #LIBS += -lwinscard + else +-LIBS += -lpcsclite -lpthread ++LIBS += $(shell pkg-config --libs libpcsclite) + endif + endif +