f82c6a9c5c
Further change the way how frameworks are installed, create a couple of more symlinks, to get rid of a lot of patches for other dependent ports. OK landry@, ajacoutot@
40 lines
1.6 KiB
Plaintext
40 lines
1.6 KiB
Plaintext
$OpenBSD: patch-target_make,v 1.6 2011/04/18 11:30:47 sebastia Exp $
|
|
|
|
We do not want to use the -Wl,-soname, cruft to encode soname into the
|
|
library.
|
|
|
|
--- target.make.orig Tue Apr 12 18:51:34 2011
|
|
+++ target.make Thu Apr 14 16:59:50 2011
|
|
@@ -748,7 +748,7 @@ endif
|
|
ifeq ($(findstring openbsd, $(GNUSTEP_TARGET_OS)), openbsd)
|
|
HAVE_SHARED_LIBS = yes
|
|
SHARED_LIB_LINK_CMD = \
|
|
- $(LD) -shared -Wl,-soname,$(LIB_LINK_SONAME_FILE) \
|
|
+ $(LD) -shared \
|
|
$(ALL_LDFLAGS) -o $(LIB_LINK_OBJ_DIR)/$(LIB_LINK_VERSION_FILE) $^ \
|
|
$(INTERNAL_LIBRARIES_DEPEND_UPON) \
|
|
$(SHARED_LD_POSTFLAGS) \
|
|
@@ -756,18 +756,17 @@ SHARED_LIB_LINK_CMD = \
|
|
$(RM_LN_S) $(LIB_LINK_FILE); \
|
|
if [ "$(LIB_LINK_SONAME_FILE)" != "$(LIB_LINK_VERSION_FILE)" ]; then\
|
|
$(RM_LN_S) $(LIB_LINK_SONAME_FILE);\
|
|
- $(LN_S) $(LIB_LINK_VERSION_FILE) $(LIB_LINK_SONAME_FILE); \
|
|
- fi; \
|
|
- $(LN_S) $(LIB_LINK_SONAME_FILE) $(LIB_LINK_FILE))
|
|
+ fi;)
|
|
AFTER_INSTALL_SHARED_LIB_CMD = \
|
|
(cd $(LIB_LINK_INSTALL_DIR); \
|
|
$(RM_LN_S) $(LIB_LINK_FILE); \
|
|
if [ "$(LIB_LINK_SONAME_FILE)" != "$(LIB_LINK_VERSION_FILE)" ]; then\
|
|
$(RM_LN_S) $(LIB_LINK_SONAME_FILE);\
|
|
- $(LN_S) $(LIB_LINK_VERSION_FILE) $(LIB_LINK_SONAME_FILE); \
|
|
fi; \
|
|
- $(LN_S) $(LIB_LINK_SONAME_FILE) $(LIB_LINK_FILE); \
|
|
)
|
|
+AFTER_INSTALL_SHARED_LIB_CHOWN = \
|
|
+ (cd $(LIB_LINK_INSTALL_DIR); \
|
|
+ chown $(CHOWN_TO) $(LIB_LINK_SONAME_FILE))
|
|
|
|
OBJ_MERGE_CMD = \
|
|
$(LD) -nostdlib $(OBJ_MERGE_CMD_FLAG) $(ALL_LDFLAGS) -o $(GNUSTEP_OBJ_DIR)/$(SUBPROJECT_PRODUCT) $^ ;
|