mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 02:52:24 +00:00
static and dynamic linking works on macosx -- noch
Former-commit-id: 87f7119dfd
This commit is contained in:
parent
12fa4aec39
commit
c6d368b789
5 changed files with 27 additions and 7 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