diff options
author | Chad Elliott <elliottc@objectcomputing.com> | 2022-09-16 06:29:10 -0500 |
---|---|---|
committer | Chad Elliott <elliottc@objectcomputing.com> | 2022-09-16 06:29:10 -0500 |
commit | 8b0b7b43dbb949159a5d2384ea9897ff1cf0abf6 (patch) | |
tree | 20e9140cd49e87a12df0b37a968f3ee5d1cccbb7 | |
parent | 5db0db8e006724b1df4059f59918685f669ac305 (diff) | |
download | ATCD-8b0b7b43dbb949159a5d2384ea9897ff1cf0abf6.tar.gz |
Added $(ACE_SHLIBS) to the link line for shared libraries. This allows dlopen() to load in other dependency libraries.
Removed the -soname option from the link line so that shared libraries do not have a hard-coded path built into them.
-rw-r--r-- | ACE/include/makeinclude/platform_vxworks7.0.GNU | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/include/makeinclude/platform_vxworks7.0.GNU b/ACE/include/makeinclude/platform_vxworks7.0.GNU index 8f8e99348d9..644d19d30e9 100644 --- a/ACE/include/makeinclude/platform_vxworks7.0.GNU +++ b/ACE/include/makeinclude/platform_vxworks7.0.GNU @@ -111,7 +111,7 @@ ifneq ($(rtp),0) $(LLD) $(LDFLAGS) $(LD_EMULATION) --allow-shlib-undefined -EL $(VSB_DIR)/usr/lib/common/crt0.o -o $@ $(filter %.o,$^) --start-group --as-needed $(LDLIBS) -lc -lc_internal -lllvm -lcplusplus -lllvmcplus -lnet -ldl --end-group endef define SOLINK.cc.override -$(LLD) $(LDFLAGS) $(LD_EMULATION) -shared --exclude-libs libc_internal.a -u __init -u __fini -soname="$@" -o $@ $(filter %.o,$^) -lc -lc_internal -lcplusplus -lnet +$(LLD) $(LDFLAGS) $(LD_EMULATION) -shared --exclude-libs libc_internal.a -u __init -u __fini -o $@ $(filter %.o,$^) --start-group --as-needed $(ACE_SHLIBS) -lc -lc_internal -lcplusplus -lnet --end-group endef endif endif |