It seems that ADDITIONAL_LDFLAGS is ignored on the windows platform.

I think it is caused by the fact that in make rules of the target

$(GNUSTEP_OBJ_DIR)/$(DLL_NAME): $(OBJ_FILES_TO_LINK) \ ....

the flag $(ALL_LDFLAGS) is not mentioned at all.

The following patch shows what I mean.  But I do feel
really comfortable in the make system, so this is just
a stab in the dark.

Wim Oudshoorn.

P.S.: Bug will also be entered in savannah.

--- /E/gnustep-cvs/gnustep/core/make/Instance/library.make	Fri Jan 16 18:04:48 2004
+++ Instance/library.make	Mon Mar 22 17:44:24 2004
@@ -221,6 +221,7 @@
 	  $(SHARED_LD_PREFLAGS) \

 	  --def $(DERIVED_SOURCES_DIR)/$(LIBRARY_NAME_WITH_LIB).def \

 	  -o $@ $(OBJ_FILES_TO_LINK) \

+          $(ALL_LDFLAGS) \
 	  $(INTERNAL_LIBRARIES_DEPEND_UPON) $(TARGET_SYSTEM_LIBS) \

 	  $(SHARED_LD_POSTFLAGS)$(END_ECHO)

 

_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to