Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Link problem with custom static library



Hello all.
I am trying to link with custom static library (.a file) using xcode 1.5 under 10.3.9
The library does not have the "lib" prefix in its name, lets say it is called "MyLib.a"
Linker is not able to find it, reporting error "ld: can't locate file for: -lMyLib"
If i rename library to "libMyLib.a" in Finder, and re-add it to the project, then it is linked ok.
Could i make XCode not to require "lib" prefix to every library?
Thank you.


--
Sincerely,
	Rustam Muginov

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.