[nginx/f12/master] fix linking of the perl module

jjh jjh at fedoraproject.org
Sun Oct 31 21:18:16 UTC 2010


commit 1ba99633433659cedad632ef90b75b4f5072f573
Author: Jeremy Hinegardner <jeremy at hinegardner.org>
Date:   Sun Oct 31 15:18:14 2010 -0600

    fix linking of the perl module

 nginx.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/nginx.spec b/nginx.spec
index 760373c..1cd387d 100644
--- a/nginx.spec
+++ b/nginx.spec
@@ -9,7 +9,7 @@
 
 Name:           nginx
 Version:        0.8.53
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Robust, small and high performance HTTP and reverse proxy server
 Group:          System Environment/Daemons   
 
@@ -98,7 +98,8 @@ export DESTDIR=%{buildroot}
     --with-file-aio \
     --with-mail_ssl_module \
     --with-ipv6 \
-    --with-cc-opt="%{optflags} $(pcre-config --cflags)"
+    --with-cc-opt="%{optflags} $(pcre-config --cflags)" \
+    --with-ld-opt="-Wl,-E" # so the perl module finds its symbols
 make %{?_smp_mflags} 
 
 %install
@@ -189,6 +190,9 @@ fi
 
 
 %changelog
+* Sun Oct 31 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-2
+- Fix linking of perl module
+
 * Sun Oct 31 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.8.53-1
 - Update to new stable 0.8.53
 - add Provides: webserver (bug #619693)


More information about the scm-commits mailing list