error UIKet
This commit is contained in:
parent
1e60792f0c
commit
b6601d051a
5 changed files with 31 additions and 7 deletions
|
|
@ -1,9 +1,11 @@
|
|||
XCODEBUILD="/usr/bin/xcodebuild"
|
||||
WORKINGDIR=`pwd`
|
||||
PATCH="/usr/bin/patch"
|
||||
|
||||
echo "Building OpenVPNAdapter for macOS ..."
|
||||
# Copy the Project.xcconfig settings to amnezia.xcconfig
|
||||
cat $WORKINGDIR/3rd/OpenVPNAdapter/Configuration/Project.xcconfig > $WORKINGDIR/3rd/OpenVPNAdapter/Configuration/amnezia.xcconfig
|
||||
OTHER_LDFLAGS[sdk=iphoneos*] = -framework UIKit
|
||||
OTHER_LDFLAGS[sdk=macosx*] = -framework Cocoa
|
||||
|
||||
# Append macOS-specific build directory configurations to amnezia.xcconfig
|
||||
cat << EOF >> $WORKINGDIR/3rd/OpenVPNAdapter/Configuration/amnezia.xcconfig
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue