summaryrefslogtreecommitdiff
path: root/libwardrobe/src
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2009-01-31 19:33:40 +0100
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2009-01-31 19:33:40 +0100
commit9312c14b47a2d6e58238902d1424ae8d45d73ac5 (patch)
treea89ba3a812cf987e815dab6df2929f76dd914675 /libwardrobe/src
parent46544ec5126051b8e933e6036c528c2e811e932e (diff)
downloadpianobar-windows-9312c14b47a2d6e58238902d1424ae8d45d73ac5.tar.gz
pianobar-windows-9312c14b47a2d6e58238902d1424ae8d45d73ac5.tar.bz2
pianobar-windows-9312c14b47a2d6e58238902d1424ae8d45d73ac5.zip
Switch build system to cmake
lib{piano,wardrobe} are now static libraries and not installed any more.
Diffstat (limited to 'libwardrobe/src')
-rw-r--r--libwardrobe/src/Makefile.am6
-rw-r--r--libwardrobe/src/main.c2
2 files changed, 1 insertions, 7 deletions
diff --git a/libwardrobe/src/Makefile.am b/libwardrobe/src/Makefile.am
deleted file mode 100644
index 470635a..0000000
--- a/libwardrobe/src/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-lib_LTLIBRARIES = libwardrobe.la
-
-libwardrobe_la_SOURCES = main.c md5.c md5.h
-include_HEADERS = wardrobe.h
-libwardrobe_la_CPPFLAGS = ${LIBCURL_CFLAGS}
-libwardrobe_la_LIBADD = ${LIBCURL_LIBS}
diff --git a/libwardrobe/src/main.c b/libwardrobe/src/main.c
index abf669d..1872c69 100644
--- a/libwardrobe/src/main.c
+++ b/libwardrobe/src/main.c
@@ -107,7 +107,7 @@ void WardrobeHttpPost (CURL *ch, const char *url, const char *postData,
void WardrobeInit (WardrobeHandle_t *wh) {
memset (wh, 0, sizeof (*wh));
wh->ch = curl_easy_init ();
- curl_easy_setopt (wh->ch, CURLOPT_USERAGENT, PACKAGE_STRING);
+ curl_easy_setopt (wh->ch, CURLOPT_USERAGENT, PACKAGE);
curl_easy_setopt (wh->ch, CURLOPT_CONNECTTIMEOUT, 60);
}