[MacPorts] #65679: giflib5 @5.2.1_2 dylib has incorrect install_name
MacPorts
noreply at macports.org
Thu Aug 18 03:57:49 UTC 2022
#65679: giflib5 @5.2.1_2 dylib has incorrect install_name
----------------------+-------------------------
Reporter: jmroot | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: giflib5 |
----------------------+-------------------------
Comment (by jmroot):
Replying to [comment:5 Schamschula]:
> I'm assuming you mean {{{install_name_tool}}}.
No, I mean add a flag to the link command in the Makefile. Instead of
{{{
$(CC) $(CFLAGS) -dynamiclib -current_version $(LIBVER) $(OBJECTS) -o
$(LIBGIFSO)
}}}
use
{{{
$(CC) $(CFLAGS) -dynamiclib -current_version $(LIBVER) -install_name
$(LIBDIR)/$(LIBGIFSOMAJOR) $(OBJECTS) -o $(LIBGIFSO)
}}}
(and do the equivalent for all other link commands.)
--
Ticket URL: <https://trac.macports.org/ticket/65679#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list