bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: GNUmakefile in gui/Model


From: Stephen Brandon
Subject: RE: GNUmakefile in gui/Model
Date: Thu, 11 Oct 2001 14:27:48 +0100

Adam,

Thanks for making the change to GNUmakefile in gui/Model,
but unfortunately something is still not right. I don't know
why this has happened -- when I tested it the other day the
change you made seemed to work.

In any case, what is happening on Win32/mingw/cygwin is that
the dlltool also needs the -lobjc flag.

The way I have patched this is to append  $(OBJC_LIBS) to
libgmodel_LIBRARIES_DEPEND_UPON as follows. This rings alarm
bells to me though... shouldn't all libraries that are
required for linking be held together somewhere and appended
to the DLL_TOOL string in the system makefiles rather than
in an individual makefile like this?

ifneq ($(GUI_LIB), nx)
libgmodel_LIBRARIES_DEPEND_UPON = -lgnustep-gui $(FND_LIBS)
$(OBJC_LIBS)
else
...
libgmodel_BUNDLE_LIBS += $(libgmodel_LIBRARIES_DEPEND_UPON)


Cheers,
Stephen Brandon
stephen@brandonitconsulting.co.uk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]