@@ -12,6 +12,7 @@ let phpLib = ProcessInfo.processInfo.environment["PHP_LIB_ROOT"]!
1212let includePHPXCFramework = true
1313// On other platforms, use the default relative path.
1414let phpSrc = " build/php-src "
15+ let phpLib = " "
1516#endif
1617
1718var targets : [ Target ] = [
@@ -65,10 +66,10 @@ var targets: [Target] = [
6566 ] , . when( platforms: [ . windows] ) ) ,
6667
6768 // --- C settings for other platforms ---
68- // .headerSearchPath(phpSrc, .when(platforms: [.linux, .macOS, .iOS])),
69- // .headerSearchPath("\(phpSrc)/main", .when(platforms: [.linux, .macOS, .iOS])),
70- // .headerSearchPath("\(phpSrc)/Zend", .when(platforms: [.linux, .macOS, .iOS])),
71- // .headerSearchPath("\(phpSrc)/TSRM", .when(platforms: [.linux, .macOS, .iOS])),
69+ . headerSearchPath( phpSrc, . when( platforms: [ . linux, . macOS, . iOS] ) ) ,
70+ . headerSearchPath( " \( phpSrc) /main " , . when( platforms: [ . linux, . macOS, . iOS] ) ) ,
71+ . headerSearchPath( " \( phpSrc) /Zend " , . when( platforms: [ . linux, . macOS, . iOS] ) ) ,
72+ . headerSearchPath( " \( phpSrc) /TSRM " , . when( platforms: [ . linux, . macOS, . iOS] ) ) ,
7273 ]
7374 ) ,
7475
0 commit comments