2010-07-17 10:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* config/vxworks/gcc.mk
  * config/vxworks/diab.mk
    + Setting 'soname'. It's mandatory according to VxWorks docs.
      Now shared diab exes will find Harbour dynlib (but not the 
      libc one, but I reckon this needs local env tweaks only).
This commit is contained in:
Viktor Szakats
2010-07-17 08:25:26 +00:00
parent a60270521e
commit ccd4bbe767
3 changed files with 9 additions and 2 deletions

View File

@@ -16,6 +16,13 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-07-17 10:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/vxworks/gcc.mk
* config/vxworks/diab.mk
+ Setting 'soname'. It's mandatory according to VxWorks docs.
Now shared diab exes will find Harbour dynlib (but not the
libc one, but I reckon this needs local env tweaks only).
2010-07-17 09:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
* utils/hbmk2/hbmk2.prg

View File

@@ -100,7 +100,7 @@ endef
define create_dynlib
$(if $(wildcard __dyn__.tmp),@$(RM) __dyn__.tmp,)
$(foreach file,$^,$(dynlib_object))
$(DY) $(DFLAGS) $(HB_USER_DFLAGS) $(DY_OUT)$(DYN_DIR)/$@ -@__dyn__.tmp $(DLIBS) $(DYSTRIP)
$(DY) $(DFLAGS) -soname="$(LIB_PREF)$(DYNNAME2)-$(HB_VER_MAJOR).$(HB_VER_MINOR).$(HB_VER_RELEASE)$(DYN_EXT)" $(HB_USER_DFLAGS) $(DY_OUT)$(DYN_DIR)/$@ -@__dyn__.tmp $(DLIBS) $(DYSTRIP)
endef
DY_RULE = $(create_dynlib)

View File

@@ -76,7 +76,7 @@ endef
define create_dynlib
$(if $(wildcard __dyn__.tmp),@$(RM) __dyn__.tmp,)
$(foreach file,$^,$(dynlib_object))
$(DY) $(DFLAGS) $(HB_USER_DFLAGS) $(DY_OUT)$(DYN_DIR)/$@ __dyn__.tmp $(DLIBS) $(DYSTRIP)
$(DY) $(DFLAGS) -Wl,-soname,"$(LIB_PREF)$(DYNNAME2)-$(HB_VER_MAJOR).$(HB_VER_MINOR).$(HB_VER_RELEASE)$(DYN_EXT)" $(HB_USER_DFLAGS) $(DY_OUT)$(DYN_DIR)/$@ __dyn__.tmp $(DLIBS) $(DYSTRIP)
endef
DY_RULE = $(create_dynlib)