[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Linking problem on OSX with GNUstep-make
From: |
Yen-Ju Chen |
Subject: |
Linking problem on OSX with GNUstep-make |
Date: |
Mon, 25 Jul 2005 01:06:28 -0700 |
I met a weird problem of linking library on OSX with GNUstep-make.
The project is a library, linking to libonig.a.
Below is a part of GNUmakefile.
If it is built as bundle, there is no problem at all.
If it is built as library, it cannot find libonig.a.
While using 'make messages=yes", it shows that OBJC_LIBS is not used.
If use LIBRARIES_DEPEND_UPON instead, the -L and -l is used correctly,
but ld still complains missing symbol.
I also tried to rename libonig.a as libonig.dylib or libonig.dylib.0,
and it doesn't help.
Where could be wrong ?
Thanx.
Yen-Ju
include $(GNUSTEP_MAKEFILES)/common.make
ifeq ($(test), yes)
BUNDLE_NAME = OgreKit
else
LIBRARY_NAME = OgreKit
endif
OgreKit_SUBPROJECTS = Source
OgreKit_OBJC_LIBS = -L/opt/local/lib -lonig
ifeq ($(test), yes)
OgreKit_OBJC_LIBS += -framework UnitKit
endif
ifeq ($(test), yes)
include $(GNUSTEP_MAKEFILES)/bundle.make
else
include $(GNUSTEP_MAKEFILES)/library.make
endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Linking problem on OSX with GNUstep-make,
Yen-Ju Chen <=