Skip to content

Instantly share code, notes, and snippets.

@springmeyer
Created January 17, 2011 20:33
Show Gist options
  • Save springmeyer/783431 to your computer and use it in GitHub Desktop.
Save springmeyer/783431 to your computer and use it in GitHub Desktop.
patch to compile libosr on os x
Index: ogr/GNUmakefile
===================================================================
--- ogr/GNUmakefile (revision 21433)
+++ ogr/GNUmakefile (working copy)
@@ -18,4 +18,5 @@
$(LIB): $(OBJ)
rm -f $(LIB)
$(AR) rc $(LIB) $(OBJ)
+ ranlib $(LIB)
Index: cpl/GNUmakefile
===================================================================
--- cpl/GNUmakefile (revision 21433)
+++ cpl/GNUmakefile (working copy)
@@ -24,6 +24,7 @@
$(LIB): $(OBJ)
rm -f $(LIB)
$(AR) rc $(LIB) $(OBJ)
+ ranlib $(LIB)
dist: clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment