{"thread":{"id":"43678","subject":"minor lib issue","startedAt":"2005-12-23T23:55:07Z","lastAt":"2005-12-23T23:55:07Z","messageCount":1,"participants":["Bennett Todd"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"296611","messageId":"20051223235507.GA22368@rahul.net","threadId":"43678","inReplyTo":null,"subject":"minor lib issue","fromName":"Bennett Todd","fromEmail":"bet@rahul.net","sentAt":"2005-12-23T23:55:07Z","receivedAt":"2005-12-23T23:55:07Z","isPatch":false,"sender":{"key":"bet@rahul.net","avatar":null},"body":"Not sure whether it's practical to fix this without autoconfiscating\nthe thing, but the logic for picking what libs to link against isn't\nas robust as it might be, and the lib ordering (libcurl after\nlibcrypto) depends on dynamic linking to work.\n\nI was able to build on Bent Linux (uClibc based, static linking\nonly) with the attached patch, which obviously is a one-off kludge\nand not a reasonable fix for the problem.\n\n-Bennett\n\nP.S. In case anyone cares, I call Bent Linux my mid-life crisis\nproject. Unix as I grew to love her about 25 years ago, when she and\nI were both a lot slimmer and healthier.\n<URL:http://bent.latency.net/>\n\n\ndiff -ru git-1.0.3.orig/Makefile git-1.0.3/Makefile\n--- git-1.0.3.orig/Makefile\t2005-12-23 23:07:42.000000000 +0000\n+++ git-1.0.3/Makefile\t2005-12-23 23:09:36.000000000 +0000\n@@ -422,8 +422,8 @@\n git-ssh-pull$X: rsh.o fetch.o\n git-ssh-push$X: rsh.o\n \n-git-http-fetch$X: LIBS += $(CURL_LIBCURL)\n-git-http-push$X: LIBS += $(CURL_LIBCURL) $(EXPAT_LIBEXPAT)\n+git-http-fetch$X: LIBS += $(CURL_LIBCURL) $(LIB_4_CRYPTO) -lssl -lcrypto\n+git-http-push$X: LIBS += $(CURL_LIBCURL) $(EXPAT_LIBEXPAT) -lssl -lcrypto\n git-rev-list$X: LIBS += $(OPENSSL_LIBSSL)\n \n init-db.o: init-db.c\n"}]}