Opened 20 years ago

Closed 20 years ago

#2482 closed defect (fixed)

wxWidgets: wx-config strips -framework

Reported by: pguyot (Paul Guyot) Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: blb@…
Port:

Description

There is a bug in wx-config shipped with wxWidgets that prevents builds depending on it to succeed.

Indeed, the script strips -framework if it's present more than once.

wx-config --libs gives here: -L/opt/local/lib -L/opt/local/lib -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework System /opt/local/lib/libwx_mac_xrc-2.5.a /opt/local/lib/libwx_mac_html-2.5.a /opt/local/lib/libwx_mac_adv-2.5.a /opt/local/lib/libwx_mac_core-2.5.a /opt/local/lib/libwx_base_carbon_xml-2.5.a /opt/local/lib/libwx_base_carbon_net-2.5.a /opt/local/lib/libwx_base_carbon-2.5.a -L/opt/local/lib -lSDLmain -lSDL Cocoa OpenGL -lpng -ljpeg -ltiff -framework WebKit -lexpat -lz -lpthread -liconv

Attached is a patch for the script.

Attachments (1)

patch-wx-config.in (439 bytes) - added by pguyot (Paul Guyot) 20 years ago.
Patch to not strip -framework

Download all attachments as: .zip

Change History (2)

Changed 20 years ago by pguyot (Paul Guyot)

Attachment: patch-wx-config.in added

Patch to not strip -framework

comment:1 Changed 20 years ago by mww@…

Resolution: fixed
Status: newclosed

thanks a lot - commited! :)

Note: See TracTickets for help on using tickets.