Opened 15 years ago

Last modified 15 years ago

#19787 closed defect

libtool-2.2.6a glibtool does not handle -framework option — at Initial Version

Reported by: mantiuk@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: framework qt3-mac Cc:
Port: libtool

Description

When linking with qt-mt (qt3-mac) using glibtool:

glibtool --tag=CXX --mode=link g++ -O3 -o pfsview main.o pfsview_widget.o luminancerange_widget.o histogram.o main.moc.o pfsview_widget.moc.o luminancerange_widget.moc.o -framework Carbon -framework QuickTime -framework OpenGL -framework AGL -L/opt/local/lib -lqt-mt -lmng -ljpeg -lpng -lz ../pfs/libpfs-1.2.la

glibtool fails with the following message:

glibtool: link: cannot find the library ' or unhandled argument Carbon'

The same happens when all "-framework" options are removed from the command line, so this may be related to qt3-mac port.

I attach the complete output with --debug.

Change History (1)

Changed 15 years ago by mantiuk@…

Attachment: out.txt added

glibtool output with --debug option

Note: See TracTickets for help on using tickets.