]> granicus.if.org Git - apache/commitdiff
The -L and -R flags are linker flags not libraries. We need to add them to
authorJustin Erenkrantz <jerenkrantz@apache.org>
Sun, 6 Jan 2002 23:39:50 +0000 (23:39 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Sun, 6 Jan 2002 23:39:50 +0000 (23:39 +0000)
the correct variable (LDFLAGS) so we can fix 'em up later on.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92759 13f79535-47bb-0310-9956-ffa450edef68

acinclude.m4

index ddde36bafb937dad92712082d059ae3a545907b2..bda7b56b918e5e1df0bdc7a0b123b8c5477e9fb0 100644 (file)
@@ -478,9 +478,9 @@ if test "x$ap_ssltk_base" = "x"; then
     APR_ADDTO(INCLUDES, [-I$ap_ssltk_incdir])
   fi
   if test "x$ap_ssltk_libdir" != "x/usr/lib"; then
-    APR_ADDTO(LIBS, [-L$ap_ssltk_libdir])
+    APR_ADDTO(LDFLAGS, [-L$ap_ssltk_libdir])
     if test "x$ap_platform_runtime_link_flag" != "x"; then
-      APR_ADDTO(LIBS, [$ap_platform_runtime_link_flag$ap_ssltk_libdir])
+      APR_ADDTO(LDFLAGS, [$ap_platform_runtime_link_flag$ap_ssltk_libdir])
     fi
   fi
   APR_ADDTO(LIBS, [-lssl -lcrypto])