Debugger: Adjustments to Jamfile.

- Remove duplicate instance of libshared.
- Add linker flags to not export symbols from linked in static libraries.
  Resolves an issue on gcc4 where symbols from libedit and libsolv would clash,
  leading to crashes.
- Add package kit-related headers and libraries.
This commit is contained in:
Rene Gollent
2014-06-18 22:25:49 -04:00
parent 8d39283b71
commit 778ef3f92b
+4 -3
View File
@@ -6,9 +6,11 @@ UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
UseHeaders [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCH))
system kernel ] ;
UsePrivateHeaders app debug interface kernel shared libroot ;
UsePrivateHeaders app debug interface kernel package shared libroot ;
UsePrivateSystemHeaders ;
LINKFLAGS += -Wl,--exclude-libs,ALL ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) arch ] ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) arch x86 ] ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) arch x86_64 ] ;
@@ -349,14 +351,13 @@ Application Debugger :
<bin>debug_utils.a
libcolumnlistview.a
libshared.a
libshared.a
libexpression_parser.a
libmapm.a
libedit.a
libncurses.a
$(TARGET_LIBSTDC++)
be tracker libbsd.so libdebug.so
be package tracker libbsd.so libdebug.so
: Debugger.rdef
;