[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in opentool
From: |
Fred Kiefer |
Subject: |
Bug in opentool |
Date: |
Sun, 24 Mar 2002 20:29:26 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:0.9.4) Gecko/20011019 Netscape6/6.2 |
Opentool tries to add the executable extension to the name of the
application, which is wrong even for MS Windows, as now openapp will
only start the application wrapper that does not have this extension.
Also to get an application compiled to be usable I had to add the
follwoing block into application.make just after ALL_GUI_LIBS is defined.
ifeq ($(WITH_DLL),yes)
TTMP_LIBS := $(ALL_GUI_LIBS)
TTMP_LIBS := $(filter -l%, $(TTMP_LIBS))
# filter all non-static libs (static libs are those ending in _ds, _s,
_ps..)
TTMP_LIBS := $(filter-out -l%_ds, $(TTMP_LIBS))
TTMP_LIBS := $(filter-out -l%_s, $(TTMP_LIBS))
TTMP_LIBS := $(filter-out -l%_dps,$(TTMP_LIBS))
TTMP_LIBS := $(filter-out -l%_ps, $(TTMP_LIBS))
# strip away -l, _p and _d ..
TTMP_LIBS := $(TTMP_LIBS:-l%=%)
TTMP_LIBS := $(TTMP_LIBS:%_d=%)
TTMP_LIBS := $(TTMP_LIBS:%_p=%)
TTMP_LIBS := $(TTMP_LIBS:%_dp=%)
TTMP_LIBS := $(shell echo $(TTMP_LIBS)|tr '-' '_')
TTMP_LIBS := $(TTMP_LIBS:%=-Dlib%_ISDLL=1)
ALL_CPPFLAGS += $(TTMP_LIBS)
endif # WITH_DLL
I don't quite see, why the general rule in rules.make does not work in
this case, while for libraries (but not for bundles) this seems to work.
Cheers
Fred
- Bug in opentool,
Fred Kiefer <=