[CalendarServer-changes] [14872] CalendarServer/trunk/bin/package

source_changes at macosforge.org source_changes at macosforge.org
Thu Jun 4 11:28:50 PDT 2015


Revision: 14872
          http://trac.calendarserver.org//changeset/14872
Author:   wsanchez at apple.com
Date:     2015-06-04 11:28:50 -0700 (Thu, 04 Jun 2015)
Log Message:
-----------
Install shlibs

Modified Paths:
--------------
    CalendarServer/trunk/bin/package

Modified: CalendarServer/trunk/bin/package
===================================================================
--- CalendarServer/trunk/bin/package	2015-06-04 17:57:54 UTC (rev 14871)
+++ CalendarServer/trunk/bin/package	2015-06-04 18:28:50 UTC (rev 14872)
@@ -123,13 +123,14 @@
   py_dependencies;
 
   install -d "${destination}/bin";
+  install -d "${destination}/lib";
 
   cd "${destination}/bin";
 
   find ../virtualenv/bin                                                   \
-    '(' -name 'caldavd' -o -name 'calendarserver_*' -o -name 'python' ')'  \
-    -exec ln -fs '{}' . ';'                                                \
-  ;
+    "(" -name "caldavd" -o -name 'calendarserver_*' -o -name "python" ")"  \
+    -exec ln -fs "{}" . ";"                                                \
+    ;
 
   for executable in              \
     "memcached/bin/memcached"    \
@@ -146,6 +147,15 @@
     fi;
   done;
 
+  cd "${destination}/lib";
+
+  find "../roots" -type f  \
+    "("                    \
+      -name '*.so'     -o  \
+      -name '*.so.*'   -o  \
+      -name '*.dylib'      \
+    ")" -print0            \
+    | xargs -0 -J % ln -s % .;
 }
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150604/9b4100d7/attachment.html>


More information about the calendarserver-changes mailing list