mirror of
https://github.com/frida/tinycc
synced 2025-02-20 09:14:03 +03:00
add "libtcc.osx" entry to Makefile, for programs who need more pure libtcc.dylib without "@rpath/" config
This commit is contained in:
parent
3cfaaaf1eb
commit
9085b38a71
4
Makefile
4
Makefile
@ -250,6 +250,10 @@ libtcc.so: LDFLAGS+=-fPIC
|
||||
libtcc.dylib: $(LIBTCC_OBJ)
|
||||
$S$(CC) -dynamiclib $(DYLIBVER) -install_name @rpath/$@ -o $@ $^ $(LDFLAGS)
|
||||
|
||||
# OSX libtcc.dylib (without rpath/ prefix)
|
||||
libtcc.osx: $(LIBTCC_OBJ)
|
||||
$S$(CC) -shared -install_name libtcc.dylib -o libtcc.dylib $^ $(LDFLAGS)
|
||||
|
||||
# windows dynamic libtcc library
|
||||
libtcc.dll : $(LIBTCC_OBJ)
|
||||
$S$(CC) -shared -o $@ $^ $(LDFLAGS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user