Fix addition of Evil library in .pc files
authorVincent Torri <vincent.torri@gmail.com>
Thu, 26 May 2016 03:27:31 +0000 (12:27 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 26 May 2016 03:27:38 +0000 (12:27 +0900)
Summary: lib/evil/libevil.la was added to .pc files, which broke the use of the EFL pc files

Test Plan: compilation

Reviewers: cedric, jpeg, zmike, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D3983

m4/efl_check_funcs.m4

index 24c3dba..d48e02c 100644 (file)
@@ -71,7 +71,7 @@ esac
 case "$host_os" in
    mingw*)
       $2="yes"
-      EFL_ADD_LIBS([$1], [lib/evil/libevil.la])
+      EFL_ADD_LIBS([$1], [-levil])
    ;;
    *)
       EFL_FIND_LIB_FOR_CODE([$1], [$dllibs], [$2], [[
@@ -100,7 +100,7 @@ esac
 case "$host_os" in
    mingw*)
       $2="yes"
-      EFL_ADD_LIBS([$1], [lib/evil/libevil.la])
+      EFL_ADD_LIBS([$1], [-levil])
    ;;
    *)
       EFL_FIND_LIB_FOR_CODE([$1], [$dllibs], [$2], [[
@@ -125,7 +125,7 @@ esac
 case "$host_os" in
    mingw*)
       $2="yes"
-      EFL_ADD_LIBS([$1], [lib/evil/libevil.la])
+      EFL_ADD_LIBS([$1], [-levil])
    ;;
    *)
       EFL_FIND_LIB_FOR_CODE([$1], [$dllibs], [$2], [[