WireGuardKit: Set publicHeadersPath = "." to flatten public headers structure
Signed-off-by: Andrej Mihajlov <and@mullvad.net>
This commit is contained in:
parent
de6aa3eb58
commit
fd527f73e6
|
@ -20,11 +20,13 @@ let package = Package(
|
||||||
),
|
),
|
||||||
.target(
|
.target(
|
||||||
name: "WireGuardKitC",
|
name: "WireGuardKitC",
|
||||||
dependencies: []
|
dependencies: [],
|
||||||
|
publicHeadersPath: "."
|
||||||
),
|
),
|
||||||
.target(
|
.target(
|
||||||
name: "WireGuardKitGo",
|
name: "WireGuardKitGo",
|
||||||
dependencies: [],
|
dependencies: [],
|
||||||
|
publicHeadersPath: ".",
|
||||||
linkerSettings: [.linkedLibrary("wg-go")]
|
linkerSettings: [.linkedLibrary("wg-go")]
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
// Copyright © 2018-2019 WireGuard LLC. All Rights Reserved.
|
// Copyright © 2018-2019 WireGuard LLC. All Rights Reserved.
|
||||||
|
|
||||||
#include "../key.h"
|
#include "key.h"
|
||||||
#include "../x25519.h"
|
#include "x25519.h"
|
|
@ -1,4 +1,4 @@
|
||||||
module WireGuardKitC {
|
module WireGuardKitC {
|
||||||
umbrella header "include/WireGuardKitCTarget.h"
|
umbrella header "WireGuardKitC.h"
|
||||||
export *
|
export *
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue