Lines 68-83
Link Here
|
68 |
AM_CFLAGS += -DVERSION=\"$(VERSION)\" -DXS_VERSION=\"$(VERSION)\" |
68 |
AM_CFLAGS += -DVERSION=\"$(VERSION)\" -DXS_VERSION=\"$(VERSION)\" |
69 |
AM_CFLAGS += -I$(PERL_INC) |
69 |
AM_CFLAGS += -I$(PERL_INC) |
70 |
|
70 |
|
71 |
if HOST_NEEDS_NO_UNDEFINED |
71 |
PLATFORM_LDFLAGS = -L$(PERL_INC) |
72 |
PLATFORM_LDFLAGS = -no-undefined -L$(PERL_INC) |
72 |
PLATFORM_LIBADD = -lperl |
73 |
PLATFORM_LIBADD = $(PERL_CONF_libperl) |
|
|
74 |
# The -no-undefined flag is for MS-Windows. See info node |
75 |
# `(gnulib)Libtool and Windows'. The -L and -l options after it show |
76 |
# where to find the undefined symbols. |
77 |
else |
78 |
PLATFORM_LDFLAGS = |
79 |
PLATFORM_LIBADD = |
80 |
endif |
81 |
|
73 |
|
82 |
AM_LDFLAGS = -avoid-version -module $(PERL_CONF_ccdlflags) |
74 |
AM_LDFLAGS = -avoid-version -module $(PERL_CONF_ccdlflags) |
83 |
AM_LDFLAGS += $(PLATFORM_LDFLAGS) |
75 |
AM_LDFLAGS += $(PLATFORM_LDFLAGS) |