File allegro-4.4.2-underlinking.patch of Package allegro

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -385,7 +385,7 @@ function(add_our_module nm files)
             PREFIX ""
             COMPILE_FLAGS -DALLEGRO_MODULE
             )
-        target_link_libraries(${nm} ${ARGN})
+        target_link_libraries(${nm} ${ARGN} allegro)
         install(TARGETS ${nm}
                 DESTINATION "${ALLEGRO_MODULES_PATH}"
                 )