]> git.saurik.com Git - cycript.git/blobdiff - makefile
Fix build on FreeBSD.
[cycript.git] / makefile
index 89e54756795d813a5ee88ac1d161b72b63c10051..25482bc08f74958772122cd1dde8619504f36660 100644 (file)
--- a/makefile
+++ b/makefile
@@ -37,7 +37,7 @@ filters := #E4X
 ldid := true
 entitle := $(ldid)
 dll := so
-apr := -lapr-1
+apr := $(shell apr-1-config --link-ld)
 library := 
 console := $(apr) -lreadline
 depends :=