summaryrefslogtreecommitdiff
blob: 7a2a75d595fe2872b881f2989b5b49e91e9b1bdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Index: project/build/perl.mk
===================================================================
--- project/build/perl.mk	(revision 1513)
+++ project/build/perl.mk	(revision 1520)
@@ -5,6 +5,7 @@
 PERL_BUILD		= ${PERL_DLL}
 
 PERL_CFLAGS		= `${top_srcdir}/librets-config-inplace --cflags`
+PERL_DLL_DIR		= ${PERL_OBJ_DIR}/blib/arch/auto/librets
 PERL_LIB		= ${shell perl -e 'use Config; print $$Config{libperl};'}
 PERL_INSTALL		= perl_install
 PERL_LDFLAGS		= `${top_srcdir}/librets-config-inplace --libs`
@@ -27,6 +28,8 @@
 
 ifneq (${SWIG_OSNAME}, MSWin32)
 
+PERL_DLL		= ${PERL_DLL_DIR}/librets.so
+
 ${PERL_OBJ_DIR}/${PERL_MAKEFILE_PL}: ${PERL_SRC_DIR}/${PERL_MAKEFILE_PL}
 	cp ${PERL_SRC_DIR}/${PERL_MAKEFILE_PL} ${PERL_OBJ_DIR}/${PERL_MAKEFILE_PL}
 	cp ${PERL_SRC_DIR}/${PERL_MANIFEST} ${PERL_OBJ_DIR}
@@ -60,7 +63,6 @@
                                 $$libdir=~s/\\/\//g;print $$libdir;'}/CORE
 endif
 
-PERL_DLL_DIR		= ${PERL_OBJ_DIR}/blib/arch/auto/librets
 PERL_DLL		= ${PERL_DLL_DIR}/librets.${DLL}
 PERL_INCLUDES		= ${PERL_LIB_DIR}
 PERL_MAKEFILE_PL_MINGW	= Makefile.mingw