wireshark: fix darwin build
Fixing the cycle in the cmake files is also needed on darwin.
This commit is contained in:
parent
5e19cec491
commit
064bcdb22f
@ -56,7 +56,11 @@ in stdenv.mkDerivation {
|
||||
export LD_LIBRARY_PATH="$PWD/run"
|
||||
'';
|
||||
|
||||
postInstall = if (stdenv.isDarwin && withQt) then ''
|
||||
postInstall = ''
|
||||
# to remove "cycle detected in the references"
|
||||
mkdir -p $dev/lib/wireshark
|
||||
mv $out/lib/wireshark/cmake $dev/lib/wireshark
|
||||
'' + (if stdenv.isDarwin && withQt then ''
|
||||
mkdir -p $out/Applications
|
||||
mv $out/bin/Wireshark.app $out/Applications/Wireshark.app
|
||||
|
||||
@ -87,12 +91,7 @@ in stdenv.mkDerivation {
|
||||
cp ../epan/dfilter/*.h $dev/include/epan/dfilter/
|
||||
cp ../wsutil/*.h $dev/include/wsutil/
|
||||
cp ../wiretap/*.h $dev/include/wiretap
|
||||
|
||||
'' + ''
|
||||
# to remove "cycle detected in the references"
|
||||
mkdir -p $dev/lib/wireshark
|
||||
mv $out/lib/wireshark/cmake $dev/lib/wireshark
|
||||
'';
|
||||
'');
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user