Commits

Anonymous committed c5d604f

snowball-c: small changes

  • Participants
  • Parent commits 6fef187

Comments (0)

Files changed (1)

File snowball-c/PKGBUILD

   cd ${srcdir}/libstemmer_c
   make CC='gcc -fPIC' || return 1
 
-  mkdir -p ${pkgdir}/usr/lib/
-  gcc -shared -o ${pkgdir}/usr/lib/libstemmer.so -lstemmer -fpic -Wl,--whole-archive ${srcdir}/libstemmer_c/libstemmer.o -Wl,--no-whole-archive
-
   install -d ${pkgdir}/usr/bin || return 1 
   install ${srcdir}/libstemmer_c/stemwords ${pkgdir}/usr/bin || return 1
   install -d ${pkgdir}/usr/include || return 1
   install ${srcdir}/libstemmer_c/include/libstemmer.h ${pkgdir}/usr/include || return 1
   install -d ${pkgdir}/usr/lib || return 1
   install ${srcdir}/libstemmer_c/libstemmer.o ${pkgdir}/usr/lib/libstemmer.a || return 1
+
+  gcc -shared -o ${pkgdir}/usr/lib/libstemmer.so -lstemmer -fpic -Wl,--whole-archive ${srcdir}/libstemmer_c/libstemmer.o -Wl,--no-whole-archive
 }