Default to "$(CC) -dynamiclib" on MacOS X for $(CCSHARED)
This commit is contained in:
parent
2ff38b9851
commit
011a4b6140
@ -291,6 +291,9 @@ static void _configure_detect_programs(Configure * configure)
|
|||||||
/* platform-specific */
|
/* platform-specific */
|
||||||
switch(configure->os)
|
switch(configure->os)
|
||||||
{
|
{
|
||||||
|
case HO_MACOSX:
|
||||||
|
configure->programs.ccshared = "$(CC) -dynamiclib";
|
||||||
|
break;
|
||||||
case HO_WIN32:
|
case HO_WIN32:
|
||||||
configure->programs.ccshared = "$(CC) -shared"
|
configure->programs.ccshared = "$(CC) -shared"
|
||||||
" -Wl,-no-undefined"
|
" -Wl,-no-undefined"
|
||||||
|
@ -4,7 +4,7 @@ DESTDIR =
|
|||||||
LIBDIR = $(PREFIX)/lib
|
LIBDIR = $(PREFIX)/lib
|
||||||
AR = ar
|
AR = ar
|
||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
CCSHARED= $(CC) -shared
|
CCSHARED= $(CC) -dynamiclib
|
||||||
RM = rm -f
|
RM = rm -f
|
||||||
LN = ln -f
|
LN = ln -f
|
||||||
MKDIR = mkdir -m 0755 -p
|
MKDIR = mkdir -m 0755 -p
|
||||||
|
Loading…
Reference in New Issue
Block a user