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 :
|
||||
|
||||
Reference in New Issue
Block a user