Skip to content

Commit fa84bcd

Browse files
committed
Fixups
1 parent 3d3e26d commit fa84bcd

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Makefile
22
# Copyright © 2018 ZeeZide GmbH. All rights reserved.
33

4-
include /usr/local/lib/swift-xcode/makefiles/swift-xcode-config.make
4+
include config.make
55

66
PACKAGE = SwiftNIO
77
MAJOR=0
@@ -84,6 +84,5 @@ uninstall-project-server-templates :
8484
$(XCODE_TEMPLATE_PROJECT_SERVER_SOURCE_DIR)/Swift\ NIO.xctemplate
8585

8686
install-file-server-templates : uninstall-file-server-templates
87-
# $(MKDIR_P) $(XCODE_TEMPLATE_FILE_SERVER_SOURCE_DIR)
8887

8988
uninstall-file-server-templates :

config.make

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Makefile
2+
# Copyright © 2018 ZeeZide GmbH. All rights reserved.
3+
4+
include /usr/local/lib/swift-xcode/makefiles/swift-xcode-config.make
5+
6+
ifeq ($(SWIFT_ABI_LIB_INSTALL_DIR),)
7+
# macOS seems to use this for modmaps: /usr/lib/swift/macosx/x86_64/
8+
# and this for the dylibs: /usr/lib/swift/macosx/
9+
# FIXME: we changed this to the TARGET, needs to be:
10+
# /usr/local/lib/swift4.0/x86_64-apple-macosx10.13
11+
# and we need to allow configuration on what we build for.
12+
SWIFT_ABI_LIB_INSTALL_DIR=$(prefix)/lib/$(SWIFT_ABI_RELDIR)/$(TARGET)
13+
endif

0 commit comments

Comments
 (0)