File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ CFG_RUSTC_FLAGS := -nowarn
22
22
CFG_DSYMUTIL := true
23
23
24
24
ifeq ($(CFG_OSTYPE ) , FreeBSD)
25
- LIB := lib$(1 ) .so
25
+ CFG_LIB_NAME = lib$(1 ) .so
26
26
CFG_GCC_CFLAGS += -fPIC -march=i686 -I/usr/local/include
27
27
CFG_GCC_LINK_FLAGS += -shared -fPIC -lpthread -lrt
28
28
ifeq ($(CFG_CPUTYPE), x86_64)
@@ -33,7 +33,7 @@ ifeq ($(CFG_OSTYPE), FreeBSD)
33
33
endif
34
34
35
35
ifeq ($(CFG_OSTYPE ) , Linux)
36
- LIB := lib$(1 ) .so
36
+ CFG_LIB_NAME = lib$(1 ) .so
37
37
CFG_GCC_CFLAGS += -fPIC -march=i686
38
38
CFG_GCC_LINK_FLAGS += -shared -fPIC -ldl -lpthread -lrt
39
39
ifeq ($(CFG_CPUTYPE), x86_64)
@@ -44,7 +44,7 @@ ifeq ($(CFG_OSTYPE), Linux)
44
44
endif
45
45
46
46
ifeq ($(CFG_OSTYPE ) , Darwin)
47
- LIB := lib$(1 ) .dylib
47
+ CFG_LIB_NAME = lib$(1 ) .dylib
48
48
CFG_UNIXY := 1
49
49
CFG_GCC_LINK_FLAGS += -dynamiclib -lpthread
50
50
# Darwin has a very blurry notion of "64 bit", and claims it's running
You can’t perform that action at this time.
0 commit comments