Make sure we copy Wireshark's libraries to Frameworks. Use top_builddir
authorGerald Combs <gerald@wireshark.org>
Mon, 30 Sep 2013 17:19:48 +0000 (17:19 -0000)
committerGerald Combs <gerald@wireshark.org>
Mon, 30 Sep 2013 17:19:48 +0000 (17:19 -0000)
instead of top_srcdir. It shouldn't make any difference in our case but
it's more correct.

svn path=/trunk/; revision=52302

Makefile.am
packaging/macosx/osx-app.sh

index a65644009976df465c0f3993ea17af5086e16106..415d37d6a7b6dab31d2f0a5f9c6191d117be65e5 100644 (file)
@@ -1084,7 +1084,7 @@ install_desktop_files:
 
 # Used by svr4-package and osx-package
 # We load top_stagedir with an explicit path so that libtool doesn't freak.
-top_stagedir=`cd $(top_srcdir) && pwd`/packaging/staging
+top_stagedir=`cd $(top_builddir) && pwd`/packaging/staging
 stagedir=$(top_stagedir)/$(PACKAGE).inst
 
 host_cpu=@host_cpu@
index 9bf21aa138bece0954781a72c12ba1f0b71b986a..b01d5601007d10f794e703d4e20d39f75bc109e1 100755 (executable)
@@ -264,10 +264,11 @@ chmod -R g-w "$chmodbpf_dir"
 # The rest of the Wireshark installation (we handled bin above)
 rsync -av \
        --exclude bin/ \
-       --exclude lib/wireshark/plugins/ \
-       --exclude lib/wireshark/python/ \
+       --exclude lib/ \
        "$binary_path/.."/* "$pkgres"
 
+rsync -av $binary_path/../lib/*.dylib "$pkglib/"
+
 # Remove the version number from the plugin path
 find "$binary_path/../lib/wireshark/plugins" -type f \
        -exec cp -fv "{}" "$pkgplugin/" \;