On Thu, 14 May 2009, Szak�ts Viktor wrote:
> > I made some test with recent hbmk2 and it stop to automatically
> > add [n]curses, slang and x11 libraries in link phase.
> I'll try to make some tests, but it'd help if you'd post your hbmk.cfg
> cmdline and -trace output.

I've found the reason.
Because I cannot use hbmk2 installed in nonsystem directories to create
portable shared libraries I created softlink from /usr/bin to <mydir>hbmk2
but in such case it cannot find hbmk.cfg.

How can I create distributable shared binaries using harbour.so which
will not have hard coded <local_harbour_libpath> inside?
I usually have more then one Harbour and [x]Harbour installation in my
devel computers so I cannot use system libraries.
Sometimes I also have to create binaries remotely on some more exotic
OS-es and hardware and I do not have write permission to system directories
so I have to make everything locally.
If you plan to use hbmk2 in the Harbour build process in the future
then such functionality is a must to create shared linked binaries,
f.e. when you create RPMs then the destination directories used in
build process are not the real system directories.

> > Can I set some default libraries which should be used with all
> > projects in hbmk.cfg?
> Yes, add line(s):
> libs=<lib1> [<lib2>] [<libn>]

Thank you very much it works nice.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to