Commits

Shlomi Fish  committed f6fa671

Fix the build problem of wml_p3_eperl.

The build problem was with perl-5.16.0-RC0. See:

http://www.nntp.perl.org/group/perl.perl5.porters/2012/05/msg186649.html .

  • Participants
  • Parent commits 4f1a8c9
  • Branches conversion-to-cmake

Comments (0)

Files changed (1)

File src/wml_backend/p3_eperl/CMakeLists.txt

 )
 
 SET_TARGET_PROPERTIES(${EXE}
-    PROPERTIES LINK_FLAGS "${perl_ccdlflags} ${perl_ldflags} -L${perl_archlib}/CORE ${perl_dla} -lperl ${perl_libs}"
+    PROPERTIES LINK_FLAGS "${perl_ccdlflags} ${perl_ldflags} -L${perl_archlib}/CORE"
+)
+
+TARGET_LINK_LIBRARIES(${EXE}
+    ${perl_dla} -lperl ${perl_libs}
 )
 
 SET_TARGET_PROPERTIES(${EXE}