mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 15:42:25 +00:00
static and dynamic linking works on macosx -- noch
This commit is contained in:
parent
bdb2b32588
commit
87f7119dfd
5 changed files with 25 additions and 5 deletions
|
|
@ -30,7 +30,7 @@ CCOPT = -fPIC $(INCLUDEPATH) -g
|
|||
|
||||
CC = cc $(CCOPT) -c
|
||||
CL = cc $(CCOPT)
|
||||
LD = cc -dynamiclib -o $(LIBRARY).dylib
|
||||
LD = libtool -dynamic -lSystem -compatibility_version $(RELEASE) -current_version $(RELEASE) -install_name $(PREFIX)/lib/$(LIBRARY).dylib -o $(LIBRARY).dylib
|
||||
# s is necessary to create index inside a archive
|
||||
ARCHIVE = ar rcs $(LIBRARY).a
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue