Skip to content

Commit 061dfc0

Browse files
committed
CI: install pkg-config alongside freetds for systemLibrary pkg-config resolution
1 parent 183f8c5 commit 061dfc0

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/swift.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run: sudo xcode-select -s /Applications/Xcode_15.4.app
2020

2121
- name: Install FreeTDS
22-
run: brew install freetds
22+
run: brew install pkg-config freetds
2323

2424
- name: Build
2525
run: swift build -v

Sources/CFreeTDS/module.modulemap

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
module CFreeTDS [system] {
2-
header "include/CFreeTDS.h"
3-
export *
4-
}
1+
#ifndef CFREETDS_H
2+
#define CFREETDS_H
3+
4+
#include <sybfront.h>
5+
#include <sybdb.h>
6+
7+
#endif

0 commit comments

Comments
 (0)