changeset 1576:f421ea8f1ff3

package libical: use $(TARGET)-pkg-config for test program
author Tony Theodore <tonyt@logyst.com>
date Tue, 08 Feb 2011 00:45:19 +1100
parents 88ff38801bc7
children 438c1a3de867
files src/libical.mk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/libical.mk	Tue Feb 08 00:33:22 2011 +1100
+++ b/src/libical.mk	Tue Feb 08 00:45:19 2011 +1100
@@ -29,5 +29,5 @@
     '$(TARGET)-gcc' \
         -W -Wall -Werror -ansi -pedantic \
         '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-libical.exe' \
-        -lical -lpthread
+        `'$(TARGET)-pkg-config' libical --cflags --libs`
 endef