build: Convert to external libedit build package
* Drop lib/edit and matching bsd header * Convert Debugger to libedit build package * Should solve problems with libedit consumers not defining _BSD_SOURCE * Progress on #10267
This commit is contained in:
@@ -448,6 +448,23 @@ if [ IsPackageAvailable zlib_devel ] {
|
||||
}
|
||||
|
||||
|
||||
# libedit
|
||||
if [ IsPackageAvailable libedit_devel ] {
|
||||
ExtractBuildFeatureArchives libedit :
|
||||
file: base libedit
|
||||
runtime: lib
|
||||
file: devel libedit_devel
|
||||
depends: base
|
||||
library: $(developLibDir)/libedit.so
|
||||
headers: $(developHeadersDir)
|
||||
;
|
||||
|
||||
EnableBuildFeatures libedit ;
|
||||
} else {
|
||||
Echo "libedit support not available on $(TARGET_PACKAGING_ARCH)" ;
|
||||
}
|
||||
|
||||
|
||||
# libsolv
|
||||
if [ IsPackageAvailable libsolv_devel ] {
|
||||
ExtractBuildFeatureArchives libsolv :
|
||||
|
||||
@@ -168,6 +168,8 @@ rule DefineDefaultBuildProfiles
|
||||
grep
|
||||
haikuporter
|
||||
less
|
||||
libedit
|
||||
libedit_devel
|
||||
m4
|
||||
make
|
||||
ncurses
|
||||
@@ -193,6 +195,8 @@ rule DefineDefaultBuildProfiles
|
||||
gcc
|
||||
icu
|
||||
libsolv
|
||||
libedit
|
||||
libedit_devel
|
||||
ncurses
|
||||
ncurses_devel
|
||||
zlib
|
||||
|
||||
Reference in New Issue
Block a user