mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Add EXTRACT_CLASS_NAMES_COMMAND for openbsd
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@22628 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
adbcaa3c3c
commit
fcb27cb974
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-03-09 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* target.make (openbsd): Add specific EXTACT_CLASS_NAMES_COMMAND.
|
||||
Patch #4957 from Andrew Sveikauskas.
|
||||
|
||||
2006-03-07 Jeremy Bettis <jeremy@deadbeef.com>
|
||||
|
||||
* Instance/framework.make: Only copy headers if they changed
|
||||
|
|
|
@ -714,10 +714,6 @@ endif
|
|||
# OpenBSD 3.x (though set for 3.3)
|
||||
#
|
||||
ifeq ($(findstring openbsd, $(GNUSTEP_TARGET_OS)), openbsd)
|
||||
# This is disabled temporarily, because I don't know exactly how
|
||||
# to link shared libs. Everything seems to link correctly now but
|
||||
# constructor functions in the shared lib failed to get called
|
||||
# when the lib is loaded in. I don't know why. ASF.
|
||||
HAVE_SHARED_LIBS = yes
|
||||
SHARED_LIB_LINK_CMD = \
|
||||
$(CC) -shared -Wl,-soname,$(LIB_LINK_SONAME_FILE) \
|
||||
|
@ -752,6 +748,9 @@ BUNDLE_LD = $(CC)
|
|||
BUNDLE_LDFLAGS += -shared -fPIC
|
||||
#ADDITIONAL_LDFLAGS += -rdynamic
|
||||
STATIC_LDFLAGS += -static
|
||||
|
||||
# nm on OpenBSD is rather like on Darwin
|
||||
EXTRACT_CLASS_NAMES_COMMAND = nm -g $$object_file | sed -n -e '/[^U] __objc_class_name_/ {s/[0-9a-f]* [^U] __objc_class_name_//p;}'
|
||||
endif
|
||||
#
|
||||
# end OpenBSD 3.x
|
||||
|
|
Loading…
Reference in a new issue